We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Więcej informacji

Date picker widgets use US format in Firefox; all my other browsers correctly use UK format

  • 2 odpowiedzi
  • 1 osoba ma ten problem
  • 2 wyświetlenia
  • Ostatnia odpowiedź od cor-el

more options

We have various date selection widgets on our website, using a calendar picker format. But when the date is actually displayed as a date, Firefox (Mac) always shows it in US format rather than UK format. My other browsers - Safari and Chrome - correctly show the UK format. My Mac OS uses the UK format.

Our developers say the HTML5 date pickers in Firefox and Chrome follow the computer's locale settings, and that it's not possible for them to specify a format in the code.

If that's the case, why does Chrome correctly show the UK format but Firefox doesn't?

I've checked the locale info in Firefox - here's what it shows:

Internationalisation & Localisation Application Settings Requested Locales ["en-GB","en-US"] Available Locales ["en-GB","en-US"] App Locales ["en-GB","en-US"] Regional Preferences ["en"] Default Locale "en-GB" Operating System System Locales ["en"] Regional Preferences ["en"]

If I can't fix this I'll have to stop using Firefox as my default browser because the date format causes too much confusion. It's heavily used for admin functions on our website, and I need to know at a glance that 01/10/2019 is 1 Oct rather than 10 Jan

We have various date selection widgets on our website, using a calendar picker format. But when the date is actually displayed as a date, Firefox (Mac) always shows it in US format rather than UK format. My other browsers - Safari and Chrome - correctly show the UK format. My Mac OS uses the UK format. Our developers say the HTML5 date pickers in Firefox and Chrome follow the computer's locale settings, and that it's not possible for them to specify a format in the code. If that's the case, why does Chrome correctly show the UK format but Firefox doesn't? I've checked the locale info in Firefox - here's what it shows: Internationalisation & Localisation Application Settings Requested Locales ["en-GB","en-US"] Available Locales ["en-GB","en-US"] App Locales ["en-GB","en-US"] Regional Preferences ["en"] Default Locale "en-GB" Operating System System Locales ["en"] Regional Preferences ["en"] If I can't fix this I'll have to stop using Firefox as my default browser because the date format causes too much confusion. It's heavily used for admin functions on our website, and I need to know at a glance that 01/10/2019 is 1 Oct rather than 10 Jan

Wszystkie odpowiedzi (2)

more options

Hi LynnProspect, can you give a link to a page with the date field/calendar picker in question? I'm curious whether it is using one of the newer HTML5 controls or a JavaScript code library.

Do you know if this problem is limited to MacOS or also affects Windows/Linux users? I would be testing on Windows.

more options