Re: Output from date command defaults to 12-hour in Buster.
On Tue, 28 Apr 2020 21:45:23 -0400
Roberto C. Sánchez <roberto@debian.org> wrote:
> > Is there any environment variable or local configuration
> > variable which will make date produce the 24-hour time stamp
> > similar to past implementations of date?
> >
>
> You probably have LANG set, but it seems you might already know that.
Which may be true, but doesn't answer the gentleman's question.
Adding
alias date='date +"%a %b %d %T %Z %Y"'
to one's .bashrc or /etc/bashrc should get the OP what he wants.
--
Does anybody read signatures any more?
https://charlescurley.com
https://charlescurley.com/blog/
Reply to: