Hi,

Zotonic uses internally UTC for all dates and times.
It is also stored in UTC.

For display and when receiving filled in dates the dates are converted to the 
timezone in the (request-)context.

When we wouldn’t be converting to UTC then all dates would be ambiguous.

- Marc

> On 28 Nov 2016, at 05:47, heiheshang <strangerfuture2...@gmail.com> wrote:
> 
> I changed the time zone for zotonic but postgresql writes everything in the 
> UTC, how to change the time zone for postgresql
> 
> -- 
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Zotonic developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to zotonic-developers+unsubscr...@googlegroups.com 
> <mailto:zotonic-developers+unsubscr...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Zotonic developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to zotonic-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to