[wp-hackers] Storing absolute time stamps

Mark Jaquith mark.wordpress at txfx.net
Mon Jun 25 20:26:24 GMT 2007


On Jun 25, 2007, at 1:38 PM, Omry Yadan wrote:

> The correct solution to the problem you described is to work with time
> zones and not time offsets, and consider the timezone DST.
>
> for time zones that have DST but does not have constant DST dates the
> user should be able to specify those days.

Because DST (or other time-shifting scheme) start/end dates *aren't*  
constant, it doesn't make sense to have timezones coded into  
WordPress.  That'd be a big maintenance burden.

Allowing the user to specify start/end dates (and new offset within  
that range) is a possible solution, but it's pretty geeky.  Plugins  
can solve this issue, which moves the maintenance burden off of  
WordPress core and doesn't present needless options to people who  
don't live in a timezone-shifting area of the world.  Plugins can  
also be updated more frequently than WordPress, so when politicians  
change the dates or start/stop timezone shifting, the people using  
the plugin can just update.

--
Mark Jaquith
http://markjaquith.com/

Covered Web Services
http://coveredwebservices.com/

WordPress Ninja @ b5media Inc
http://b5media.com/




More information about the wp-hackers mailing list