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

196

17163 readers
1751 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 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
[–] cypherpunks@lemmy.ml 7 points 1 month 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).