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

Re: Output from date command defaults to 12-hour in Buster.



	Hi.

On Tue, Apr 28, 2020 at 08:36:11PM -0500, Martin McCormick 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?

If you need it systemwide, consider doing this (will require relogin, at
least):

echo 'LC_TIME=C' >> /etc/default/locale

If you need it for your user only (will require a new terminal emulator), 

echo 'LC_TIME=C' >> ~/.bashrc

Reco


Reply to: