[wp-trac] [WordPress Trac] #38774: Date and time APIs for posts make wrong timezone assumptions
WordPress Trac
noreply at wordpress.org
Thu May 4 09:20:42 UTC 2017
#38774: Date and time APIs for posts make wrong timezone assumptions
--------------------------+------------------------------
Reporter: Rarst | Owner:
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):
Replying to [comment:1 jdgrimes]:
> In some cases the intention might be to show what time it actually was
on the site *at the time a post was published*, not what time it was on
the site then relative to the site's current timezone.
While I fully consider this a valid use case, it’s not what current API
either promises or attempts to deliver.
I think the first step should be fixing things to a point that they
produce ''correct time at all'', which is very long overdue for Date/Time
component.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38774#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list