[wp-trac] [WordPress Trac] #48384: get_post_time returns wrong value after timezone switch
WordPress Trac
noreply at wordpress.org
Wed Oct 23 08:32:22 UTC 2019
#48384: get_post_time returns wrong value after timezone switch
-------------------------------------------------+-------------------------
Reporter: david.binda | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.3
Component: Date/Time | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests commit | Focuses:
dev-feedback |
-------------------------------------------------+-------------------------
Comment (by Rarst):
As an option we could use the new `get_post_timestamp()` there, but then
we get time slipping with time zone change again because it uses local
time as basis right now, not GMT one. Local time is slipping everywhere
anyway...
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48384#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list