• SlopppyEngineer@discuss.tchncs.de
    link
    fedilink
    arrow-up
    42
    arrow-down
    2
    ·
    11 months ago

    YYYY-MM-DD for everything. My PC clock, my phone and even my handwritten notes all use that format.

    The only other acceptable format is military notation: DD MMM YYYY.

        • Rodeo@lemmy.ca
          link
          fedilink
          arrow-up
          5
          arrow-down
          1
          ·
          11 months ago

          Considering how there’s almost no computers anymore with such limited resources that they can’t store a string or convert to one, it’s kind of crazy anybody bothers with the ambiguity of using numbers for the month.

          • scubbo@lemmy.ml
            link
            fedilink
            arrow-up
            4
            arrow-down
            1
            ·
            11 months ago

            The limited resource is not Compute Power, but Engineer time. Sure, you could ask someone to implement wrappers everywhere in the system so that the display is human-readable - or you could put one label somewhere clarifying the date format to readers.

            • Rodeo@lemmy.ca
              link
              fedilink
              arrow-up
              1
              ·
              11 months ago

              Implement wrappers everywhere? Why can’t they just write a single function that takes an ISO date a spits out a string (human readable) date? I’d put money down that such a function already exists in almost every library that deals with dates.

              • scubbo@lemmy.ml
                link
                fedilink
                arrow-up
                1
                ·
                11 months ago

                That’s why I said “implement” and not just “write”. The process of wiring in that existing function has non-negligible cost, as does keeping it updated/patched.

                Sure, it should be pretty small - but it’s non-zero. Is it worth it? That’s a product decision.

        • Samsy@lemmy.mlOP
          link
          fedilink
          arrow-up
          3
          ·
          11 months ago

          Yes spreadsheet apps like excel do this. If I remember correctly MMMM would write the full month. January.

      • SlopppyEngineer@discuss.tchncs.de
        link
        fedilink
        arrow-up
        6
        ·
        11 months ago

        It’s written like 07 Aug 2013. It’s consistent in character length, doesn’t confuse internationals, doesn’t take much space and is written exactly like being said around here. It’s just not that great for file names.

        • flambonkscious@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          2
          ·
          11 months ago

          Yeah, ok. Expanding the month to 3 chars does reduce potential confusion

          I feel the need to be pedantic and point out that this is only necessary, however because of the ridiculous degenerate convention of MM DD YY(YY?) used by said country…