[wp-trac] [WordPress Trac] #48660: Date/Time component malfunctioning after 5.3 update.
WordPress Trac
noreply at wordpress.org
Fri Nov 22 20:08:44 UTC 2019
#48660: Date/Time component malfunctioning after 5.3 update.
--------------------------+------------------------------
Reporter: hannahmussey | Owner: (none)
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: Date/Time | Version: 5.3
Severity: major | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by wpnook):
So consider the purpose of {{{date_default_timezone_set()}}}, used in a
script in conjunction with a procedural {{{date()}}} call, used to output
a particular date/time. The purpose is to set the timezone for the
specific script, not globally -- so that the date can be output in a
particular timezone, presumably a local one, in instances where the local
time is the only applicable time.
This update, in effect, **breaks** that core PHP functionality.
Post-5.3 update, using {{{date_default_timezone_set()}}} has no effect on
the timezone output of {{{date()}}}.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48660#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list