[wp-trac] [WordPress Trac] #49038: Timezone setting does not display correct time of next DST transition
WordPress Trac
noreply at wordpress.org
Thu Dec 19 15:39:21 UTC 2019
#49038: Timezone setting does not display correct time of next DST transition
--------------------------+------------------------------
Reporter: autotutorial | Owner: Rarst
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: Date/Time | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by autotutorial):
In the past it was so the DateTime class starts from the year 0000 to 9999
... Is there something I did not understand, can you, please give me an
example of a future UTC date with the DateTime class?
var_dump(new DateTime('9999-12-31 23:59:59.999999', new
DateTimeZone('UTC')));
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49038#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list