12-hour time is the path of satan

This is needed due to a change in glibc. And apparently the Danes are
the only ones who respect ISO8601?

https://sourceware.org/bugzilla/show_bug.cgi?id=24046

https://wiki.archlinux.org/index.php/Locale#LC_TIME:_date_and_time_format
This commit is contained in:
Pig Monkey 2019-05-03 20:01:41 -07:00
parent f07993fdab
commit 076bdfe047

View file

@ -86,9 +86,12 @@ Change root into the base install and perform [base configuration tasks][12].
$ arch-chroot /mnt /bin/bash
$ export LANG=en_US.UTF-8
$ export TIME=en_DK.UTF-8
$ echo $LANG UTF-8 >> /etc/locale.gen
$ echo $TIME UTF-8 >> /etc/locale.gen
$ locale-gen
$ echo LANG=$LANG > /etc/locale.conf
$ echo LC_TIME=$TIME >> /etc/locale.conf
$ ln -fs /usr/share/zoneinfo/America/Los_Angeles /etc/localtime
$ hwclock --systohc --utc
$ echo mymachine > /etc/hostname