[Solved] Change date format without changing language on Linux?
[Solved] Change date format without changing language on Linux?
Is it possible? I'd like my dates, time etc. to be displayed in the way I'm used to while keeping the browser in English. I've tried setting the LC_DATE environment variable as well, but it doesn't respect that.
Edit: Solved!
- go to
about:config
- set
intl.regional_prefs.use_os_locales
totrue
- restart firefox.
https://superuser.com/a/1804828
Tl;dr:
- go to
about:config
- set
intl.regional_prefs.use_os_locales
totrue
- restart firefox.
11ReplyAnd here's an explanation of the value as well as an explanation of why it is set to false by default:
https://firefox-source-docs.mozilla.org/intl/locale.html#regional-preferencesTl;dr:
Example: It might lead to a UI case like “Today is 24 października” in an English Firefox with Polish date formats. 3ReplyI'm quite fine with that, but mostly I want dates on the web be in the format I'm used to. I'll read the article, thanks!
1Reply
That did it, thank you!
1Reply
- go to
In GNOME it's as simple as shown in the image: Settings -> Region and Language:
7ReplyI did the equivalent in Cinnamon, but Firefox doesn't respect that:
4Reply
LC_TIME
3ReplyFirefox doesn't seem to respect that, it's set correctly to
cs_CZ.UTF-8
. 2ReplyIn Firefox about:preferences, there should be the option to use the language preferences specified by the OS.
3Reply
In the firefox settings, you can change default language
1ReplyNot a solution, as I said:
while keeping the browser in English
1Reply