Linux - Forcing 24-hour locale?
--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Sunrise at the Stream
--
Chapters
00:00 Linux - Forcing 24-Hour Locale?
00:24 Accepted Answer Score 9
00:55 Answer 2 Score 2
01:20 Thank you
--
Full question
https://superuser.com/questions/327248/l...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#linux #datetime #locale
#avk47
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Sunrise at the Stream
--
Chapters
00:00 Linux - Forcing 24-Hour Locale?
00:24 Accepted Answer Score 9
00:55 Answer 2 Score 2
01:20 Thank you
--
Full question
https://superuser.com/questions/327248/l...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#linux #datetime #locale
#avk47
ACCEPTED ANSWER
Score 9
Locales can be set for various components separately, so you can set LC_TIME
to either "en_GB.UTF-8
" (Great Britain), "en_DK.UTF-8
" (Denmark – ISO 8601 time), or "C
" (no locale).
(Don't forget /etc/locale.gen.)
ANSWER 2
Score 2
As @grawity reports, you can try to find another locale for LC_TIME
, but you will always have granularity problems, always compromising between options. This is a known problem and I suggest that you add yourself to the following bug report: Ubuntu Lauchpad bug #1392699