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

WordPress Trac noreply at wordpress.org
Thu Nov 3 07:00:01 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 swissspidy):

 Replying to [comment:16 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]?

 That… makes sense.

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


More information about the wp-trac mailing list