[wp-trac] [WordPress Trac] #57705: Reusage timezone in mysql2date
WordPress Trac
noreply at wordpress.org
Fri Mar 10 15:35:11 UTC 2023
#57705: Reusage timezone in mysql2date
------------------------------------+---------------------------
Reporter: spacedmonkey | Owner: spacedmonkey
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.3
Component: Date/Time | Version: 5.3
Severity: normal | Resolution: fixed
Keywords: has-patch commit early | Focuses: performance
------------------------------------+---------------------------
Changes (by spacedmonkey):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"55514" 55514]:
{{{
#!CommitTicketReference repository="" revision="55514"
Date/Time: Save a call to wp_timezone in mysql2date.
Save a call to wp_timezone in mysql2date by saving the timezone to a
variable and pass it into wp_date function call.
Props spacedmonkey, costdev, SergeyBiryukov, audrasjb.
Fixes #57705.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57705#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list