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

WordPress Trac noreply at wordpress.org
Sat Jan 17 17:10:15 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:  3.5
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------

Comment (by SergeyBiryukov):

 Replying to [comment:4 avryl]:
 > The dates in the admin should all be the same.

 Well, the rest of the admin generally appears to use `get_option(
 'date_format' )`.

 The only place where `__( 'F j, Y' )` is used in the admin is the Date
 Format menu itself in General Settings. It's also the default value of
 `date_format` option on install.

 So I'm still not sure why this should change.

 In Russian, `'F j, Y'` is translated to `'d.m.Y'`, and that's the format I
 see in Attachment Details modal in media grid, with or without the patch.
 I guess it would be different if I select a different format in General
 Settings, but then, with the patch, this date in Attachments Details modal
 would be in different from the rest of the admin.

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


More information about the wp-trac mailing list