[wp-trac] [WordPress Trac] #55685: Date setting should have two more options: j.n.Y and d.m.Y

WordPress Trac noreply at wordpress.org
Thu May 5 18:30:39 UTC 2022


#55685: Date setting should have two more options: j.n.Y and d.m.Y
-------------------------+---------------------------------
 Reporter:  Daedalon     |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Date/Time    |     Version:  5.9.3
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:  ui, administration
-------------------------+---------------------------------
Changes (by SergeyBiryukov):

 * component:  General => Date/Time


Comment:

 Hi there, thanks for the ticket!

 As noted above, one of the date format options is translatable, so
 localized WordPress packages can (and already do) add their own preferred
 date format by translating the `__( 'F j, Y' )` string, for example, to
 `d.m.Y`.

 That said, given its widespread usage, I think `d.m.Y` would beneft from
 being added as separate option, so that one could choose it regardless of
 the current user's locale or the admin locale. It would then be displayed
 and recognized as one of the officially supported options, instead of
 "Custom".

 I'm less sure about `j.n.Y`. In the latest quarter of the year, a date
 like `10.11.2022` would be the same in both formats, so it might be hard
 to tell the difference from `d.m.Y`. The was also a concern voiced
 previously in comment:5:ticket:28447 about adding too many options. Other
 than that, I don't have any strong objections.

 Slightly related: #48239

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


More information about the wp-trac mailing list