[wp-trac] [WordPress Trac] #34835: date_i18n() produces invalid output for numerical time zones
WordPress Trac
noreply at wordpress.org
Tue Jul 3 15:59:01 UTC 2018
#34835: date_i18n() produces invalid output for numerical time zones
--------------------------+-----------------------
Reporter: Rarst | Owner: flixos90
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.0
Component: Date/Time | Version: 3.1
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
--------------------------+-----------------------
Changes (by flixos90):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"43387" 43387]:
{{{
#!CommitTicketReference repository="" revision="43387"
Date/Time: Add support for `gmt_offset` to `date_i18n()`.
Prior to this change, `date_i18n()` only supported the `timezone_string`
option, causing incorrect timezones to appear in formatted dates on sites
that still rely on the `gmt_offset` option.
Props Rarst.
Fixes #34835.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34835#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list