[wp-trac] [WordPress Trac] #37910: Remove confusing legacy logic in date_i18n()
WordPress Trac
noreply at wordpress.org
Sat Nov 12 23:11:57 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 commit | Focuses:
------------------------------+-------------------------
Comment (by Rarst):
I would argue that this should be normalized on `gmdate()` on the
contrary. If any third party code changes PHP timezone (yeah, it shouldn't
but in practice happens all the time), all of that will be waaaay off in
context of other issues with `date_i18n()`.
Also see https://core.trac.wordpress.org/ticket/38771
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37910#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list