[wp-hackers] Daylight Savings Glitch

Eric Mann eric at eamann.com
Mon Mar 15 16:55:15 UTC 2010


Actually, I just investigated further.  It appears that any post I saved
before Daylight Savings Time inherited the pre-savings UTC settings.  So 9am
= 17:00 before Daylight Savings went into effect.  I checked the wp_posts
table and updated things accordingly (setting the post time to 16:00 instead
of 17:00).  This doesn't seem to be so much of a bug as it does an oversight
... publishing should work just fine from here on out, but is there a way to
patch this in the future to prevent this kind of behavior?

-----Original Message-----
From: wp-hackers-bounces at lists.automattic.com
[mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of Eric Mann
Sent: Monday, March 15, 2010 9:48 AM
To: wp-hackers at lists.automattic.com
Subject: [wp-hackers] Daylight Savings Glitch

Hopefully everyone's realized that we set our clocks ahead an hour yesterday
(at least everyone in the US).  While my blog seemed to realize this and
updated its time settings appropriately, there was still a huge glitch.

 

I publish a post every Monday-Wednesday-Friday at 9am.  Because I originally
expected to be busy the night before, I scheduled today's post ahead of time
to automatically publish at 9am.  At 9:40, though, I noticed my blog hadn't
updated.  I checked the blog and it claimed to be set to the right time and
the post claimed it was scheduled to publish today at 9am.  I clicked to
edit the time and set it again to 9:00 and clicked the now present "Publish"
button (before it was "Schedule").  Everything seemed to go well, but my
blog still claims the post is "Scheduled for: Mar 15, 2010 @ 9:00"  This is
a significant problem . because it's after 9 but things won't update.

 

For reference, my timezone is set to Los Angeles, displays the appropriate
local time, and has a reminder note below saying "This timezone is currently
in daylight savings time. Standard time begins on: November 7, 2010 1:00
am."

 

I scheduled Wednesday's post ahead of time, too . will it also display an
hour late?  When I write my post on Friday, should I schedule it for 8 or 9
to get it to publish at 9?  Any ideas?

 

 

Eric Mann

 <http://www.eamann.com> www.eamann.com

 

_______________________________________________
wp-hackers mailing list
wp-hackers at lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers



More information about the wp-hackers mailing list