[wp-testers] Wordpress UTC Time

Peter Westwood peter.westwood at ftwr.co.uk
Tue Mar 20 22:06:00 GMT 2007


Matt wrote:
> Where does Wordpress get it's UTC time from. Since, after the daylight
> saving time date change, it's now incorrect. If it's being taken from the
> server it's on, then it should be correct, since the server I'm on was
> patched with the time change. Or is it taken from PHP, that somehow the set
> server time doesn't matter?

WordPress get's it UTC time from the Server.

However, WordPress doesn't handle Daylight Saving, instead it currently 
  allows you to specify your offset from UTC in the options and uses 
that to enable it to display post timestamps in your timezone.

For relavent open and closed trac tickets that discuss this (and options 
for adding daylight saving support to WordPress - core or plugin) see 
http://trac.wordpress.org/search?q=Daylight&noquickjump=1&ticket=on

westi
-- 
Peter Westwood
http://blog.ftwr.co.uk


More information about the wp-testers mailing list