[wp-trac] [WordPress Trac] #48858: Incorrect UTC time in WP 5.3
WordPress Trac
noreply at wordpress.org
Tue Dec 3 11:49:25 UTC 2019
#48858: Incorrect UTC time in WP 5.3
--------------------------+------------------------------
Reporter: balykin95 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Date/Time | Version: 5.3
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by balykin95):
Oh, sry, I edited timezone to UTC+1 in WP for tests. Now I returned it to
London
http://joxi.ru/GrqJePgH41JqWm
Output of var_dump in readable form:
{{{
10" string(30) "timezone_string: Europe/London"
string(13) "gmt_offset: 0"
string(32) "date_default_timezone_get(): UTC"
string(33) "date(): 2019-12-03T14:46:50+03:00"
string(35) "gmdate(): 2019-12-03T11:46:50+00:00"
string(38) "date_i18n(): 2019-12-03T11:46:50+00:00"
string(36) "wp_date(): 2019-12-03T11:46:50+00:00"
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48858#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list