• merc@sh.itjust.works
    link
    fedilink
    arrow-up
    59
    ·
    18 hours ago

    As for why it’s better:

    1. It’s in sort order. Even if you use it for things that don’t understand dates, they sort properly because the day is the last part, month is the middle part, and year is the first part. If you include hours, minutes or seconds, the sort order is still preserved.
    2. Speaking of things that don’t understand dates, because there are no slashes, you can easily use it in file names, directories, and anything else that treats slash as a special character. In addition, if you include the time part, because it uses “T” to separate the date and time, it doesn’t use a space, so once again it can be easily used anywhere where a space might cause issues.
    • Rothe@piefed.social
      link
      fedilink
      English
      arrow-up
      9
      arrow-down
      2
      ·
      9 hours ago

      ISO is better for archiving and sorting, inarguably so. But dd-mm-yyyy is better for day to day daily life usage, where the day and month are much more important than the year.

      Both have their uses, but for different situations. mm-dd-yyyy is just batshit though.

    • raspberriesareyummy@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      16 hours ago

      To be fair, the time separators don’t behave well on all implementations of filesystem access by filename. Need to use underscores or omit them at times.