this post was submitted on 26 Jan 2025
609 points (96.1% liked)

196

16842 readers
1361 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
609
ISO 8601 ftw rule (gregtech.eu)
submitted 5 days ago* (last edited 5 days 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] 29 points 5 days ago (7 children)
[–] [email protected] 12 points 5 days 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!

[–] [email protected] 2 points 5 days 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

[–] [email protected] 7 points 4 days 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)