[wp-trac] [WordPress Trac] #46483: Eliminate use of date_default_timezone_set() for calculations in core
WordPress Trac
noreply at wordpress.org
Thu Jun 20 14:10:53 UTC 2019
#46483: Eliminate use of date_default_timezone_set() for calculations in core
-------------------------+-----------------------------
Reporter: Rarst | Owner: SergeyBiryukov
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.3
Component: Date/Time | Version:
Severity: minor | Resolution: fixed
Keywords: has-patch | Focuses:
-------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"45556" 45556]:
{{{
#!CommitTicketReference repository="" revision="45556"
Date/Time: Eliminate use of `date_default_timezone_set()` for determining
DST status on General Options screen.
Time calculations should not need to rely on manipulating global PHP
configuration state.
Props Rarst.
Fixes #46483.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46483#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list