this post was submitted on 01 Sep 2025
360 points (94.3% liked)
Facepalm
3382 readers
450 users here now
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I was going to write something sassy, but separating the date and time portion with a T is marginally superior. I love them both!
I know it violates all standards, but what works for me is 2025-09-02.13:32:56.25. I.e. using
.
between date and time AND as fractional seconds.It's pretty close to standard, doesn't contain whitespace, and looks much nicer to me than having a
T
in the middle.Stop bike shedding. Use the standard.
But then how will we know it's a timestamp?
I haven't ever had a date that was followed by a period and a decimal digit that wasn't a timestamp, but if you do encounter (or can reasonably predict) that ambiguity, I defer to a standard format.
I find the
.
significantly easier thatT
to deal with when I'm looking across timestamped backups of config files or whatever. TheT
really throws me off as a "separator" character, it makes both the day and hour harder for me to read.