[wp-trac] [WordPress Trac] #48384: get_post_time returns wrong value after timezone switch
WordPress Trac
noreply at wordpress.org
Tue Oct 22 18:32:24 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 SergeyBiryukov):
In [attachment:"48384.2.diff"]:
* Include the unit test from [attachment:"48384.diff"] (slightly adapted
for consistency)
* Document the default values for `$field` and `$source` parameters of
`get_post_datetime()`.
* Synchronize the `$field` parameter description for `get_post_datetime()`
and `get_post_timestamp()`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48384#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list