Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

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

  • 2 отговора
  • 1 има този проблем
  • 2 изгледи
  • Последен отговор от 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

Всички отговори (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