[wp-trac] [WordPress Trac] #25768: date_i18n() is wrong for certain formats, escapes sequences and daylight saving time

WordPress Trac noreply at wordpress.org
Wed Oct 30 15:20:17 UTC 2013


#25768: date_i18n() is wrong for certain formats, escapes sequences and daylight
saving time
-------------------------------------------------+-------------------------
 Reporter:  raubvogel                            |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Date/Time                            |  Review
 Severity:  major                                |     Version:  3.7.1
 Keywords:  has-patch needs-testing dev-         |  Resolution:
  feedback                                       |
-------------------------------------------------+-------------------------

Comment (by raubvogel):

 A further issue with {{{date_i18n()}}} that is not fixed with my patch is:
 If get_option('timezone_string') is empty, {{{date_i18n()}}} ignores the
 time zone.

 I believe, it’s not easy to fix this. One cannot simply find a time zone
 string by gmt offset ({{{get_option('gmt_offset')}}}) because it seems
 that there does not exist a time zone string for each possible offset
 (have a look {{{timezone_name_from_abbr()}}} too).

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25768#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list