[wp-trac] [WordPress Trac] #47191: date and time of next time change
WordPress Trac
noreply at wordpress.org
Wed May 22 16:26:20 UTC 2019
#47191: date and time of next time change
-------------------------------+------------------------------
Reporter: hupe13 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Date/Time | Version: 5.2
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Comment (by Rarst):
I cannot reproduce locally, Europe/Berlin outputs correct expected value
for me.
Not sure what would cause this, possibly `timezone_transitions_get()`
giving incorrect data over server misconfiguration or something.
You could try `var_dump( timezone_transitions_get( new DateTimeZone(
'Europe/Berlin' ), time() ) );` and see if data contains expected
transition upcoming.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47191#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list