• glimse@lemmy.world
      link
      fedilink
      arrow-up
      15
      ·
      edit-2
      3 days ago

      NO. You need a character per digit and you always want the leading 0 shown.

      YYYY-MM-DD

            • glimse@lemmy.world
              link
              fedilink
              arrow-up
              2
              ·
              3 days ago

              …And you assume you will only ever look at those files with that file manager forever…

              There is no downside to writing the leading zeroes pretty much anywhere except when aesthetics matter (event flyers, etc)

              • arty@feddit.org
                link
                fedilink
                English
                arrow-up
                2
                ·
                3 days ago

                I am a big fan of ISO8601, and I only objected to your use of “only” in the comment above.

      • palordrolap@fedia.io
        link
        fedilink
        arrow-up
        3
        ·
        2 days ago

        It’s close, sure, but actually no. That standard currently requires the letter T (and no white-space) between date and time when both are present, and, frankly, that’s ugly and a space should be allowed.

        An old version of the standard allowed the space, and GNU’s coreutils seem to have carried on the tradition, so I’m not alone in thinking this.

      • zqps@sh.itjust.works
        link
        fedilink
        arrow-up
        6
        ·
        edit-2
        3 days ago

        No because it’s the global format that typically uses periods.

        D.M.Y (normal)
        Y-M-D (superior)
        M/D/Y (mental illness)

        Mixing up the formats and denominators makes this mess even worse.