this post was submitted on 26 Jan 2025
615 points (96.0% liked)

196

17163 readers
1685 users here now

Be sure to follow the rule before you head out.


Rule: You must post before you leave.



Other rules

Behavior rules:

Posting rules:

NSFW: NSFW content is permitted but it must be tagged and have content warnings. Anything that doesn't adhere to this will be removed. Content warnings should be added like: [penis], [explicit description of sex]. Non-sexualized breasts of any gender are not considered inappropriate and therefore do not need to be blurred/tagged.

If you have any questions, feel free to contact us on our matrix channel or email.

Other 196's:

founded 2 years ago
MODERATORS
615
ISO 8601 ftw rule (gregtech.eu)
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]
 

[email protected] gang, rise up

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 13 points 1 month ago (1 children)

Mmm US military date and time is fun too.

DDMMMYYYYHHMM and time zone identifier. So 26JAN20251841Z.

So much fun.

[–] [email protected] 5 points 1 month ago (2 children)

So virtually human unreadable and the letters make machine readability a pain in the ass?

[–] [email protected] 6 points 1 month ago (1 children)

Honestly look very readable to me, though I'm not sure on the timezone bit. Maybe they left it out? Ohterwise it's 26th of January 2025, 18:41

It's gonna be problematic when there's 5 digit years, but other than that it's... not good, but definitely less ambiguous than any "normally formatted" date where DD <= 12. Is it MM/DD or DD/MM? We'll never fucking know!

Of course, YYYY-MM-DD is still the king because it's both human readable and sortable as a regular string without converting it into a datetime object or anything.

[–] [email protected] 6 points 1 month ago* (last edited 1 month ago) (1 children)

All you'd have to do to make it much more readable is separate the time and the year with some kind of separator like a hyphen, slash or dot. Also "Z" is the time zone, denoting UTC (see also military time zones)

[–] [email protected] 3 points 1 month ago* (last edited 1 month ago)

Oh, duh. It's why all my timestamps have Z's in the database lmao

Thing is, you're right that the separation would help, but this is still way less ambiguous that MM/DD vs DD/MM if you ask me.

[–] [email protected] 1 points 1 month ago

As my friend used to say, there's dumb and then there's Army Dumb.