this post was submitted on 26 Jan 2025
612 points (95.9% liked)

196

16867 readers
1056 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 2 years ago
MODERATORS
612
ISO 8601 ftw rule (gregtech.eu)
submitted 1 week ago* (last edited 1 week ago) by lena@gregtech.eu to c/196@lemmy.blahaj.zone
 

!iso8601@lemmy.sdf.org gang, rise up

you are viewing a single comment's thread
view the rest of the comments
[–] lena@gregtech.eu 29 points 1 week ago (7 children)
[–] Adm_Drummer@lemmy.world 12 points 1 week ago (6 children)

Don't you mean: "Right there! Stop you, I'm going to."

Yoda-ass date structure.

What day, of what month, of what year is it? It's ordered by importance dammit!

[–] Track_Shovel@slrpnk.net 2 points 1 week ago (4 children)

25th of July, 2024 is confusing?

There's no ambiguity with the format, since it's impossible to mix up month and day

[–] cypherpunks@lemmy.ml 7 points 1 week ago

yes, when the month is written non-numerically (and the year is written with four digits) there is no ambiguity.

but, the three formats in OP's post are all about writing things numerically.

In some contexts, writing out the full month name can be clearer (at least for speakers of the language you're writing in), but it takes more (and a variable amount of) space and the strings cannot be sorted without first parsing them into date objects.

Anywhere you want or need to write a date numerically, ISO-8601 is obviously much better and should always be used (except in the many cases where the stupid formats are required by custom or law).

load more comments (3 replies)
load more comments (4 replies)
load more comments (4 replies)