[wp-trac] [WordPress Trac] #49388: Default date/time formats for non-US English locales are incorrect
WordPress Trac
noreply at wordpress.org
Mon Feb 10 06:11:18 UTC 2020
#49388: Default date/time formats for non-US English locales are incorrect
-------------------------------+------------------------------
Reporter: getsnoopy | Owner: getsnoopy
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: Date/Time | Version:
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Comment (by getsnoopy):
Replying to [comment:3 siliconforks]:
> That's not really true for en-CA - "F j, Y" is more commonly used in
Canadian English.
The official date format for Canada is "j F Y" for both French and
English. "F j, Y" is allowed as an exception for English, and it is common
only because of its proximity and ties to the US.
> I don't see how an en-US translation could be "added to just the en-US
locale" - if a WordPress installation uses the en-US locale, it doesn't
install any translation files at all; it just uses the default
translatable strings (which are assumed to already be in the en-US
locale).
>
> Probably the thing that needs to be fixed is the translation you have
installed, which should change "jS F Y" to "j F Y". Which locale are you
using - is it en-GB?
Interesting. That seems like a separate and deeper issue then. But yes,
I've checked all of the English non-US locales, and they all have this
issue. I've actually suggested fixes for those strings via the translation
UI; that should eventually fix the issue, yeah?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49388#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list