[wp-trac] [WordPress Trac] #57705: Reusage timezone in mysql2date
WordPress Trac
noreply at wordpress.org
Tue Feb 14 21:39:57 UTC 2023
#57705: Reusage timezone in mysql2date
------------------------------+---------------------------
Reporter: spacedmonkey | Owner: spacedmonkey
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.2
Component: Date/Time | Version: 5.3
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses: performance
------------------------------+---------------------------
Changes (by spacedmonkey):
* owner: (none) => spacedmonkey
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"55343" 55343]:
{{{
#!CommitTicketReference repository="" revision="55343"
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:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list