[wp-hackers] Storing absolute time stamps

Omry Yadan omry at yadan.net
Mon Jun 25 12:55:57 GMT 2007


I just saw that my server time zone is off by one hour, probably because 
of DST.

so I changed the offset value in the admin page, refreshed the post page 
and nothing changed.

I am guessing that the reason for that is that the absolute time is 
calculated when the comment is submitted, and stored as such.

I suggest that we store UTC timestamp everywhere, and convert them 
before they are displayed.


    Omry.



More information about the wp-hackers mailing list