[arch-general] Time and date in 24 hour time can this be fixed?

matthew dyer ilovecountrymusic483 at gmail.com
Sat Sep 14 17:56:06 UTC 2019


Thanks.  Will give this a try.

Matthew



> On Sep 14, 2019, at 1:42 PM, Ralf Mardorf via arch-general <arch-general at archlinux.org> wrote:
> 
> On Sat, 14 Sep 2019 11:56:46 -0400, Matthew Dyer via arch-general wrote:
>> I am getting a sintax error when runn locale(1).  Locale is set to 
>> en_US.UTF-8 in /etc/locale.gebn.  At least it is uncommeted. Should I 
>> rerun the locale.-gen and see if that helps.
> 
> Hi Matthew,
> 
> if I were you I would replace /etc/locale.gen by
> /etc/locale.gen.pacnew, uncomment the desired language/s, just in case
> also take a look at /etc/locale.conf and then run
> 'sudo locale-gen'.
> 
> To get back 24 hour format (that's what I prefer over 12 hour format),
> I restarted my machine,
> https://wiki.archlinux.org/index.php/Locale#LC_TIME:_date_and_time_format .
> 
> You might not necessarily need to restart the machine, but it doesn't
> harm. The output of 'localectl status' does not display the real status!
> 
> However, running 'locale; echo $?; locale -a; echo $?' must not cause a
> syntax error, 'locale' must always return exit status '0' ;).
> 
> Regards,
> Ralf


More information about the arch-general mailing list