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 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