[wp-trac] [WordPress Trac] #40061: Switch to Custom Date Format or Time Format reset to default and date_i18n

WordPress Trac noreply at wordpress.org
Tue Mar 7 14:59:16 UTC 2017


#40061: Switch to Custom Date Format or Time Format reset to default and date_i18n
----------------------------+-----------------------------
 Reporter:  axewww          |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:  4.7.3
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 Anyone else experience that if you go on WP admin -> Settings -> General
 and try to save Date Format or Time Format to Custom, it do not
 change/update nothing on saving but reset to the previous setting?
 '''
 Also, i try to use'''
 {{{#!php
 <?php
 date_i18n( 'H:i Y-m-d', $value->topic_last_post_time )
 }}}

 passing a timestamp, that return ever the same, whatever i can change the
 timezone setting. Maybe on this i've not understand something, but about
 the above, i'm not the only one experiencing this behavior about Custom
 setting for Date Format or Time Format.

 Thank you!

 Any idea?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40061>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list