• merc@sh.itjust.works
    link
    fedilink
    arrow-up
    25
    ·
    11 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.
    • raspberriesareyummy@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      9 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.