[wp-trac] [WordPress Trac] #38774: Date and time APIs for posts make wrong timezone assumptions
WordPress Trac
noreply at wordpress.org
Mon Oct 21 15:38:59 UTC 2019
#38774: Date and time APIs for posts make wrong timezone assumptions
--------------------------+------------------------------
Reporter: Rarst | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Date/Time | Version: 4.6.1
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by Rarst):
We've considered going canonical UTC in this Date/Time component revamp.
Unfortunately it's too nuanced to happen right now.
In a nutshell UTC favors working with time ''that had already happened''
and local time can be reliable calculated for any time zone from it.
However for ''future'' time local time is preferable since users operate
with that rather than UTC and ''future'' time zone offsets are essentially
unknowable (being dependent on such things like political decisions about
them).
Since we are locked in to current database schema for backwards
compatibility, there is no good take to advance this at the moment.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38774#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list