1079
submitted 2 years ago by spicytuna62@lemmy.world to c/memes@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] kamen@lemmy.world 25 points 2 years ago

DD/MM for readability, YYYY/MM/DD for alphabetical sorting that's also chronological.

[-] Clbull@lemmy.world 3 points 2 years ago* (last edited 2 years ago)

Ironically, MM/DD/YYYY works better for chronological sorting than DD/MM/YYYY, so long as you don't go between years.

Didn't think I'd be saying this but the Americans have an edge over us Brits.

[-] kamen@lemmy.world 16 points 2 years ago

By this logic one might say that DD/MM/YYYY works for alphabetical chronological sort if you don't go between months...

[-] victorz@lemmy.world 12 points 2 years ago

Have another go at this train of thought, mate... You're basically saying "MM/DD" is better at sorting chronologically than "DD/MM", since the year part is taken out of the equation, which is already the established consensus, and not ironical whatsoever. And the ISO standard is already to use YYYY-MM-DD, so that's the winner IMO, hands down. Japan is simply following that but using a slash as the delimiter.

[-] sukhmel@programming.dev 8 points 2 years ago
[-] Clbull@lemmy.world 1 points 2 years ago

What I said, MM/DD/YYYY is less flawed than DD/MM/YYYY for chronological sorting.

Asian YYYYMMDD way is the best way for computing.., but the American way at least preserves the month and day structure.

[-] veni_vedi_veni@lemmy.world 2 points 2 years ago* (last edited 2 years ago)

When you search or do any stable sort, I would think you want your primary attribute to be the one with most finite values? That way you are front loading the pruning of the search space.

So it's actually on favor of Japanese style

this post was submitted on 22 Nov 2023
1079 points (100.0% liked)

Memes

51765 readers
848 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 6 years ago
MODERATORS