[wp-trac] [WordPress Trac] #17957: wp_reschedule_event & daylight saving
WordPress Trac
wp-trac at lists.automattic.com
Fri Jul 1 09:03:28 UTC 2011
#17957: wp_reschedule_event & daylight saving
-------------------------+-----------------------------
Reporter: MattyRob | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Cron | Version: 3.2
Severity: normal | Keywords: dev-feedback
-------------------------+-----------------------------
When a recurring event is established using the WP cron functions the
function takes a Unix timestamp and a recurrence interval.
In the situation where daylight saving changes the local time, the timing
of an event can change by an hour. So, if a database backup is set to run
at midnight when the clocks change this can start to happen at 11pm or 1am
instead since the timing of the event is based on an initial static time
(Unix timestamps reference point is January 1, 1970) and a static interval
period.
An enhancement to the cron functions would be to account for an obey
daylight saving changes so that events schedule for midnight actually
occur at midnight irrespective of the time of year.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17957>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list