[wp-trac] [WordPress Trac] #48384: get_post_time returns wrong value after timezone switch
WordPress Trac
noreply at wordpress.org
Tue Oct 22 07:06:15 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: Awaiting Review
Component: Date/Time | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------------------
Changes (by Rarst):
* keywords: => has-patch has-unit-tests
Comment:
Added parameter to instance `get_post_datetime()` from local or UTC time
and explanation in inline documentation.
Fixed up legacy logic paths from UTC time slipping on time zone change.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48384#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list