[wp-trac] [WordPress Trac] #25768: date_i18n() is wrong for certain formats, escapes sequences and daylight saving time
WordPress Trac
noreply at wordpress.org
Fri Aug 23 00:56:31 UTC 2019
#25768: date_i18n() is wrong for certain formats, escapes sequences and daylight
saving time
--------------------------------------+-----------------------------
Reporter: raubvogel | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.3
Component: Date/Time | Version: 3.7.1
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"45882" 45882]:
{{{
#!CommitTicketReference repository="" revision="45882"
Date/Time: Rewrite and simplify `date_i18n()` using `wp_timezone()` to
address multiple issues with certain date formats and timezones, while
preserving some extra handling for legacy use cases.
Improve unit test coverage.
Props Rarst, remcotolsma, raubvogel.
Fixes #25768.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/25768#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list