[wp-trac] [WordPress Trac] #49388: Default date/time formats for non-US English locales are incorrect
WordPress Trac
noreply at wordpress.org
Sun Feb 9 17:22:16 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):
I see now that my phrasing could've been better. By "non-US English
locales", I meant "non-US, English locales"; i.e., non en-US English
locales, so these would be en-GB, en-AU, en-NZ, en-ZA, and en-CA. It seems
like the translated versions of those formats in those locales are
incorrect.
But I also now realize that the default format should be changed as well,
since en-US is the only locale that uses "F j, Y" as the date format,
while basically every other locale/country use the long-form international
DMY date format "j F Y" (RFC 2822) or the numerical international DMY date
formats "Y-m-d" (ISO 8601) or "d/m/Y". The "F j, Y" format can be added to
just the en-US locale.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49388#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list