[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#877900: How to get 24-hour time on en_US.UTF-8 locale now?



On 2019-02-08 14:33, Roman Mamedov wrote:
> On Fri, 8 Feb 2019 10:21:41 +0100
> Aurelien Jarno <aurelien@aurel32.net> wrote:
> 
> > What is the content of /etc/default/locale? it looks like you have an
> > additional entry than the LANG one set by dpkg-reconfigure locales.
> 
> "dpkg-reconfigure locales" only writes LANG=C.UTF-8 (or any other accordingly)
> to that file. This results in the "locale" output that I posted above
> (including after a relogin or reboot). There were no lines aside from that
> in /etc/default/locale.

Yes, that's normal that only LANG is set, as it's the one with less
priority. That said there was clearly something setting LC_ALL to
en.US-UTF-8 before, you might want to grep /etc for that. When only LANG
is set, you should get and output like this one:

LANG=C.UTF-8
LANGUAGE=
LC_CTYPE="C.UTF-8"
LC_NUMERIC="C.UTF-8"
LC_TIME="C.UTF-8"
LC_COLLATE="C.UTF-8"
LC_MONETARY="C.UTF-8"
LC_MESSAGES="C.UTF-8"
LC_PAPER="C.UTF-8"
LC_NAME="C.UTF-8"
LC_ADDRESS="C.UTF-8"
LC_TELEPHONE="C.UTF-8"
LC_MEASUREMENT="C.UTF-8"
LC_IDENTIFICATION="C.UTF-8"
LC_ALL=

Note how LC_ALL is unset.

Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net


Reply to: