You are not logged in.

#1 2021-03-01 17:53:52

nemya9066
Member
Registered: 2020-06-13
Posts: 9

[ SOLVED] How to change the time locale?

I don't want to use the US date convention so I put LC_TIME=en_GB.UTF-8 in my locale.conf as the wiki suggested it fixed my time issue but now I'm having nerd font icons rendering problem with vifm(a terminal file manage)
When I run the locale command I get this error:
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME=en_GB.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

Of course I did locale-gen and my /etc/locale.conf only have LANG=en_US.UTF-8 beside LC_TIME.
At first I thought this was a problem with vifm since no other program gave me problems but the I ran the locale cmd and saw that error so am I doing this wrong?

Last edited by nemya9066 (2021-03-01 18:15:24)

Offline

#2 2021-03-01 18:10:29

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [ SOLVED] How to change the time locale?

what does locale -a show you?

Offline

#3 2021-03-01 18:13:50

nemya9066
Member
Registered: 2020-06-13
Posts: 9

Re: [ SOLVED] How to change the time locale?

yep it was my bad I also needed to generate the locale for en_GB (by uncommenting it from /etc/locale.gen)
I guess that's what you get for reading only one section of the wiki smile

Offline

Board footer

Powered by FluxBB