[wp-trac] [WordPress Trac] #30864: Media Grid: Attachment Details: Date format not translated

WordPress Trac noreply at wordpress.org
Mon Jan 5 09:43:46 UTC 2015


#30864: Media Grid: Attachment Details: Date format not translated
--------------------------------------------+------------------
 Reporter:  avryl                           |       Owner:
     Type:  defect (bug)                    |      Status:  new
 Priority:  normal                          |   Milestone:  4.2
Component:  Media                           |     Version:  4.0
 Severity:  normal                          |  Resolution:
 Keywords:  reporter-feedback dev-feedback  |     Focuses:
--------------------------------------------+------------------
Changes (by tyxla):

 * keywords:  needs-patch => reporter-feedback dev-feedback


Comment:

 Just conducted a couple of tests myself. I confirm that the date format is
 being translated correctly in the attachment grid details popup. The
 `mysql2date()` translates the date through `date_i18n()` by default,
 unless `false` is passed as third parameter (`$translate`). So, unless the
 default value of `$translate` is changed, nothing else should be done
 here.

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


More information about the wp-trac mailing list