Closed
Bug 1417488
Opened 7 years ago
Closed 7 years ago
input[type="date"] UI not using OS locale
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1337069
People
(Reporter: unknown9595, Unassigned)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36 Steps to reproduce: I'm on OSX using 57 in en-GB locale, using a input[type="date"] input and the UI is displaying mm/dd/yyyy, not dd/mm/yyyy. The value is correctly YYYY-MM-DD. Can see this on https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date I see there's 4 tickets filed, but from around a year ago. Also I tried this with the Beta and I believe it was correctly formatted. Actual results: Placeholder and selected dates UI are showing mm/dd/yyyy Expected results: Should show dd/mm/yyyy
Comment 1•7 years ago
|
||
What's your browser locale? Firefox probably uses the browser locale, not system locale, as I documented in https://www.fxsitecompat.com/en-CA/docs/2017/intl-api-now-uses-browser-locale-by-default-on-all-platforms/
Component: Untriaged → Layout: Form Controls
Product: Firefox → Core
Updated•7 years ago
|
Flags: needinfo?(unknown9595)
Comment 2•7 years ago
|
||
I am experiencing the same issue. Firefox locale is set to en-GB in language and I have restarted it but still seeing date inputs in mm/dd/yyyy. OS locale is also en-GB. I am on Windows 10.
Reporter | ||
Comment 3•7 years ago
|
||
My locale was set to en-US, if 57 set it to that, that would explain why the beta seemed to be displaying fine. Anyway I changed my locale to en-GB and still seeing the issue. I have a screenshot, but can't see how to attach it. This is what window.navigator is reporting and it is still MM/DD/YYYY after restarting FF language: "en-GB" languages: Array [ "en-GB", "en-US", "en" ]
Flags: needinfo?(unknown9595)
Reporter | ||
Comment 4•7 years ago
|
||
Found how to attach :)
Updated•7 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Comment 6•7 years ago
|
||
Is macOS using POSIX locales?
You need to log in
before you can comment on or make changes to this bug.
Description
•