[wp-trac] [WordPress Trac] #20973: date_i18n() produces invalid output for shorthand formats
WordPress Trac
noreply at wordpress.org
Fri Jul 6 08:38:07 UTC 2018
#20973: date_i18n() produces invalid output for shorthand formats
------------------------------+--------------------------
Reporter: Rarst | Owner: johnbillion
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 5.0
Component: Date/Time | Version: 3.4
Severity: normal | Resolution:
Keywords: needs-unit-tests | Focuses:
------------------------------+--------------------------
Comment (by Rarst):
The problem with merged test is that timezone change got lost in rewrite.
Without WP set to non-UTC time zone the bug is invisible (because wrong
output happens to be same as right output) and test doesn't test.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/20973#comment:47>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list