[wp-trac] [WordPress Trac] #20973: date_i18n() produces invalid output for shorthand formats

WordPress Trac noreply at wordpress.org
Sat Aug 11 13:28:29 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 SergeyBiryukov):

 In [changeset:"43562" 43562]:
 {{{
 #!CommitTicketReference repository="" revision="43562"
 Tests: Avoid a race condition in
 `test_date_i18n_handles_shorthand_formats()` by using a delta for
 comparing timestamps.

 See #20973, #38381.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/20973#comment:48>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list