You are not logged in.
Is there a locale that uses the ISO-8601 dating format (YYYY-MM-DD) and uses a `:` for the time separator? I am currently using `LC_TIME=en_DK.UTF-8`, but it separates hours and minutes with a `.` instead of a `:`. It seems to have been a recent change, as I've used the `en_DK.UTF-8` locale for awhile, and it suddenly changed from using a colon to a period.
PS: since BBCode doesn't support inline code blocks, I'm just using the markdown convention (surrounding it with `).
Offline
Set your locale to whatever fits your region and use the TIME_STYLE="posix-long-iso" env. You can put it into your /etc/locale.conf.
See https://www.gnu.org/software/coreutils/ … tamps.html
EDIT: ... or better in the .profile or .bash_profile. Or both. FloatyMcBoatface.
Last edited by Awebb (2016-07-16 11:34:05)
Offline
There's also the en_XX locale
$ date
2016-07-16 15:13:36 +0000
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline