• unomar@midwest.social
    link
    fedilink
    English
    arrow-up
    129
    arrow-down
    4
    ·
    11 months ago

    ISO-8601 over all other formats. 2023-08-09T21:11:00Z

    Simple, sortable, intuitive.

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

      Awful to actually read, though. Using T as a delimiter is mental… At least the hyphen provides some white space

    • protput@lemmy.world
      link
      fedilink
      arrow-up
      11
      arrow-down
      6
      ·
      edit-2
      11 months ago

      Too long. Even 2023-08-09 is too long for me. But since I like the readability I use 2023.08.09. Less pixels and more readable then 20230809.

      • railsdev@programming.dev
        link
        fedilink
        arrow-up
        9
        ·
        11 months ago

        You should be localizing it before displaying to users. Let their browser/platform decide.

        Personally I can’t stand the format you’ve shown. I also can’t stand periods being used for phone numbers, e.g. 555.555.5555.

        • Aloha_Alaska@lemmy.world
          link
          fedilink
          arrow-up
          5
          ·
          edit-2
          11 months ago

          My company has decided to standardized on phone numbers with dots instead of dashes. They’re in email signatures, memos, client proposals. I absolutely hate it and it rubs me the wrong way every time I see it. It’s wrong.

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

            In Germany this is standardized, too. DIN 5008 for phone numbers. Areacode Number-extension. For example 0123 456789-01

            • railsdev@programming.dev
              link
              fedilink
              arrow-up
              1
              ·
              11 months ago

              I use a standardization library for phone numbers. It makes parsing any user input dead easy, storing it as a standard string (can’t think of the standard name) and then outputting in the country’s respective format. I don’t have to inject a bunch of JavaScript crap that’s like “wrong format” and harass users; the backend sorts it all out.

      • Pinklink@lemm.ee
        link
        fedilink
        arrow-up
        2
        ·
        11 months ago

        Although I actually like that format a lot, we use characters to help elicit context. 2023/08/09 is fine since we have been using / for dates for so long. Also it blows my mind why people don’t use : in 24 hour times. 16:40 is great, no am pm bullshit and you immediately know I’m talking time.

      • jerkface@lemmy.ca
        link
        fedilink
        English
        arrow-up
        2
        ·
        11 months ago

        Same number of pixels, they are just different colours. But you still paid for them.