629
ISO 8601 ftw rule (gregtech.eu)
submitted 3 days ago* (last edited 3 days ago) by lena@gregtech.eu to c/196

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

you are viewing a single comment's thread
view the rest of the comments
[-] cypherpunks@lemmy.ml 7 points 3 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).

this post was submitted on 26 Jan 2025
629 points (100.0% liked)

196

16838 readers
1743 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