Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] Change first day of week to monday (Read 846 times) previous topic - next topic
0 Members and 4 Guests are viewing this topic.

[SOLVED] Change first day of week to monday

I have tried some things to change the first day of week to monday. But, first of all, locale doesn't seem to work. I tried

$ sudo export LC_TIME=en_GB

but it gives error.....

bash: warning: setlocale: LC_TIME: cannot change locale (en_GB)

The locale I uncommented is se_SV.UTF-8, and that should have monday as first day of week.

$ locale
LANG=C
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=

How can I fix this? Mostly just want the first day of week to be monday and also for it to use metric system as default.


Re: Change first day of week to monday

Reply #2
Ok, so I tried many things and had apparently missunderstood how locale worked this entire time. Because I almost gave up I tried things I did not expect from there.

My missunderstanding was that the locales have to be uncomented to be exported in /etc/locale.conf and that locale-gen did not export /etc/locale.gen as my default locale.

After enabling the locales in locale.gen, running "sudo locale-gen", then I could edit the locale.conf file with the locales I enabled in locale.gen. Changed that and rebooted.