[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 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.

I was able to get the desired result only by manually adding a line with
"LC_ALL=C.UTF-8" to /etc/default/locale.

# locale
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=C.UTF-8

It is puzzling why this is required.

-- 
With respect,
Roman


Reply to: