[wp-trac] [WordPress Trac] #64102: add label to date/time to show which string is the language default

WordPress Trac noreply at wordpress.org
Mon Nov 3 22:09:56 UTC 2025


#64102: add label to date/time to show which string is the language default
--------------------------+-----------------------------
 Reporter:  pbearne       |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  6.9
Component:  Date/Time     |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+-----------------------------

Comment (by desrosj):

 The main question that came up in #36259 that needs confirmation is
 whether the `date_format`/`time_format` options should render for the
 user's preference or the site's selected locale.

 I believe that it should be the site's locale because this option sets the
 global default for the site. But currently the options are shown based on
 the user's selected locale.

 That aside, the thinking behind this suggestion itself is that when a
 user's selected locale differs from the site, a (Site Default) label would
 make it obvious to the user which date format is the preferred default for
 the site's selected locale.

 But that would require the `F j, Y`/`g:i a` formats to be translated into
 both the site and user locales.

 I'm thinking let's revert this for 6.9 and we can try to fix this properly
 in 7.0 along with #36259 and any other Date Format related issues for the
 General Settings page.

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


More information about the wp-trac mailing list