The following HTML feature is the subject of this question.
<input type="time">
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/time
Firefox is su… (ďalšie informácie)
The following HTML feature is the subject of this question.
<input type="time">
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/time
Firefox is supposed to use a 12- or 24-hour format for input depending on region settings or locale.
I think I should see a 24-hour input format.
Firefox only ever presents me with 12-hour input format -- with AM/PM selectors.
Chrome, by comparison, presents 24-hour input format, out of the box, as expected.
Is this a localisation bug in Firefox, or am I holding it wrong?
I shall try to upload some screenshots, but in case that does not work, here is a text representation of my state.
I am on a Mac. The Mac is configured for en_AU. (I believe 24-hour clocks are used in the en_AU locale.) Just to be sure, the "Time format: 24-Hour Time" checkbox has been enabled in the Mac's Language & Region system preferences. The following command, entered at a shell, produces the desired output format.
% date +%c
Sat 26 Aug 22:48:14 2023
All other applications on my computer honour this preference to the best of my knowledge.
I have the en-GB release of Firefox Nightly. Build ID is 20230825041349. Here are the relevant sections from about:support...
Application Settings
Requested Locales ["en-GB"]
Available Locales ["en-GB","en-US"]
App Locales ["en-GB","en-US"]
Regional Preferences ["en-AU"]
Default Locale "en-GB"
Operating System
System Locales ["en-AU"]
Regional Preferences ["en-AU"]
intl.regional_prefs.use_os_locales has been set to true in about:config.
Why do I still see 12-hour input formats in Firefox?
Thank you.