Re: Time and date in 24 hour time can this be fixed?

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



For us command line users the date command has lots of parameters, and
bash can do aliases to save a date and/or time format you like when you
get it just right.  The info date command get anyone interested started.

On Sat, 14 Sep 2019, matthew dyer via arch-general wrote:

> Date: Sat, 14 Sep 2019 13:56:06
> From: matthew dyer via arch-general <arch-general@xxxxxxxxxxxxx>
> To: Arch General <arch-general@xxxxxxxxxxxxx>
> Cc: matthew dyer <ilovecountrymusic483@xxxxxxxxx>
> Subject: Re:  Time and date in 24 hour time can this be fixed?
>
> Thanks.  Will give this a try.
>
> Matthew
>
>
>
> > On Sep 14, 2019, at 1:42 PM, Ralf Mardorf via arch-general <arch-general@xxxxxxxxxxxxx> 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
>

-- 



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux