[wp-trac] [WordPress Trac] #38771: date_i18n() arguments are misleading in function and documentation

WordPress Trac noreply at wordpress.org
Thu Jan 5 16:15:28 UTC 2017


#38771: date_i18n() arguments are misleading in function and documentation
-------------------------+-----------------------------
 Reporter:  Rarst        |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  Date/Time    |     Version:  4.7
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+-----------------------------

Comment (by purpled):

 This bit us today when we upgraded wordpress - we were calling date_i18n()
 and were bit by the fact the gmt flag is no longer respected when passing
 a timestamp. Please revert to the old behavior or comment better what the
 parameters do.

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


More information about the wp-trac mailing list