this post was submitted on 03 May 2026
25 points (100.0% liked)

Linux Mint

3544 readers
3 users here now

Linux Mint is a free Linux-based operating system designed for use on desktop and laptop computers.

Want to see the latest news from the blog? Set the Firefox homepage to:

linuxmint.com/start/

where is a current or past release. Here's an example using release 21.1 'Vera':

https://linuxmint.com/start/vera/

founded 5 years ago
MODERATORS
 

ISO8601-based custom date format in Linux Mint

Right-click the calendar widget in the panel > toggle Use a custom date format > Add %Y-%m-%d%n%H:%M% to the field below.

Seconds omitted because I don't have use for them, and %n to put the hours and minutes in a second line, so it's easier to read.

Didn't test in other Debian-based systems. And iirc changing the locale to either Danish or Japanese also works, but then the system won't be in English.

Hope this helps someone. =)

#iso8601 @linuxmint@lemmy.ml

top 4 comments
sorted by: hot top controversial new old
[–] Lupie@sopuli.xyz 6 points 2 months ago (2 children)

I remember having to look up the format rules to do exactly this when I first tried Mint. Astonished it's not one of the default options.

[–] flameleaf@lemmy.ml 1 points 2 months ago

They're all listed if you type man date or date --help in your terminal

[–] 18107@aussie.zone 1 points 2 months ago

I didn't know about %n, but otherwise I've been using this.

I'm disappointed that my world clocks broke and only display UTC after upgrading to LMDE 7.