搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

How do I change the date format in Firefox?

more options

My Firefox shows all the dates in U.S. format, calendars show Saturday as the first day of the week and decimals are separated by . when they should be separated by ,

I have the browser and my computer OS in Finnish as default and all the settings show, I should have Finnish dates and other settings, but it doesn't help, dates are in U.S. format. How can I change this?

所有回覆 (3)

more options

When you last updated or installed, you may have not gotten the correct localization for Firefox, or possibly something broke some settings. You may want to simply re-install Firefox by downloading a Finnish-localized version manually. https://www.mozilla.org/firefox/all/#product-desktop-release

more options

What do you get if you paste this code in the Web Console or Browser Console ?

  • (new Date()).toLocaleString()
  • (new Date()).toLocaleString("fi")

See also this pref on the about:config page.

  • intl.regional_prefs.use_os_locales
more options

Firefoxes WebConsole I got these:

(new Date()).toLocaleString() "3.2.2020 klo 9.09.14" (new Date()).toLocaleString("fi") "3.2.2020 klo 9.09.36"

and the about:config "intl.regional_prefs.use_os_locales" gave "false"