Az oldal korlátolt funkcionalitással fog rendelkezni, amíg elvégezzük a felhasználói élményt javító karbantartást. Ha egy leírás nem oldja meg a problémáját, és kérdést tenne fel, akkor a támogatási közösségünk a @FirefoxSupport Twitter oldalon tud segíteni, vagy az /r/firefox oldalon a Redditen.

Támogatás keresése

Kerülje el a támogatási csalásokat. Sosem kérjük arra, hogy hívjon fel egy telefonszámot vagy osszon meg személyes információkat. Jelentse a gyanús tevékenységeket a „Visszaélés bejelentése” lehetőséggel.

További tudnivalók

A témacsoportot lezárták és archiválták. Tegyen fel új kérdést, ha segítségre van szüksége.

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

  • 2 válasz
  • 1 embernek van ilyen problémája
  • 2 megtekintés
  • Utolsó üzenet ettől: 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

Összes válasz (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