You are right, thanks.

-- 

With best regards, Pavel A. Sokolov

> 6 февр. 2015 г., в 19:07, Marco Pivetta <[email protected]> написал(а):
> 
> Just map over the results? Array hydration gives you DateTime instances 
> anyway.
> 
>> On Feb 6, 2015 3:24 PM, "Pavel Sokolov" <[email protected]> wrote:
>> Hello.
>> 
>> Is it possible to change date format when representing query result as 
>> Query::HYDRATE_ARRAY ?
>> For example, current format is object, I need to present DateTime fields as 
>> "Y-m-d H:i:s"
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "doctrine-user" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/doctrine-user.
>> For more options, visit https://groups.google.com/d/optout.
> 
> -- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "doctrine-user" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/doctrine-user/ugpeDvKx_-I/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/doctrine-user.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to