[wp-meta] [Making WordPress.org] #4480: Event API returns date/time information without timezone

Making WordPress.org noreply at wordpress.org
Mon Aug 17 05:21:45 UTC 2020


#4480: Event API returns date/time information without timezone
-------------------------+-----------------------
 Reporter:  Rarst        |       Owner:  iandunn
     Type:  enhancement  |      Status:  accepted
 Priority:  high         |   Milestone:
Component:  Events API   |  Resolution:
 Keywords:               |
-------------------------+-----------------------

Comment (by Rarst):

 Note that storing future events in UTC is generally not preferable due to
 unknown future state of time zone offsets. Something scheduled for 6pm
 local time should stay scheduled for 6pm local time regardless if
 government decides to cancel summer time or whatever. Storing in UTC
 doesn't accomplish this, it will drift whenever timezones table changes.

 This is a big reason why we dropped moving WP core towards canonical UTC
 for time storage (so far).

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/4480#comment:9>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list