[wp-trac] [WordPress Trac] #37910: Remove confusing legacy logic in date_i18n()
WordPress Trac
noreply at wordpress.org
Sun Oct 23 07:18:25 UTC 2016
#37910: Remove confusing legacy logic in date_i18n()
---------------------------------------------+-------------------------
Reporter: jdgrimes | Owner: swissspidy
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.7
Component: Date/Time | Version: 3.0
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses:
---------------------------------------------+-------------------------
Comment (by swissspidy):
In [changeset:"38871"]:
{{{
#!CommitTicketReference repository="" revision="38871"
Date/Time: Fix unit tests after [38804].
The tests for `date_i18n()` need to use a delta for comparing timestamps.
Fixes #38381. See #37910.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37910#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list