[wp-trac] [WordPress Trac] #37910: Remove confusing legacy logic in date_i18n()

WordPress Trac noreply at wordpress.org
Wed Nov 2 23:04:48 UTC 2016


#37910: Remove confusing legacy logic in date_i18n()
---------------------------+-------------------------
 Reporter:  jdgrimes       |       Owner:  swissspidy
     Type:  enhancement    |      Status:  reopened
 Priority:  normal         |   Milestone:  4.7
Component:  Date/Time      |     Version:  3.0
 Severity:  normal         |  Resolution:
 Keywords:  needs-testing  |     Focuses:
---------------------------+-------------------------

Comment (by ocean90):

 Replying to [comment:15 swissspidy]:
 > The logic in `date_i18n()` is still valid, but the test is faulty. I
 need to replace it with something a bit more flexible.

 What about using a timezone which has the same UTC offset all year like
 [http://time.is/Regina America/Regina]?

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


More information about the wp-trac mailing list