[wp-hackers] peculiar problem on setting GMT

Lynne Pope lynne.pope at gmail.com
Mon Apr 27 06:29:30 GMT 2009

2009/4/25 SoJ Web <sojweb at indiana.edu>

> Yeah, I keep getting my free time eaten up, but I'll upload what I've
> got... and it wouldn't be much to make it fully workable. The link is:
> http://wordpress.org/extend/plugins/soj-user-time-zone/
> As I was playing with it, a few things came to mind that it should account
> for:
> 1 - It needs to take into account daylight savings time, which depends both
> on the time zone and when a particular post was published.
> 2 - If an author can set one time zone, they ought to be able to set
> multiple time zones (if I move to india, my EST setting won't do me any
> good).
> 3 - Posts should respect the time zone setting from the time they were
> published, not necessarily the current setting.
> 4 - I'd like it to hook into pre_option_gmt_offset instead of get_the_time
> like it does now
> None of this would be hard, I just haven't had time for it. And if anyone
> has any ideas for improvement, please hack away!
> -Jeff

I haven't had time yet to look at this but wanted to record my thoughts with
a #1A.
1A - Take into account daylight savings time on the server.
This catches so many of my people out, when they schedule posts and don't
remember that the servers are in different time zones. Twice a year, server
time changes mess up post times. Adjusting for 4 daylight saving changes per
year (server x2, blog x2) is no fun.


More information about the wp-hackers mailing list