• Sculptus Poe@lemmy.world
    link
    fedilink
    arrow-up
    10
    arrow-down
    1
    ·
    edit-2
    8 days ago

    Until microsoft makes that the default down in the lower right corner, I don’t think we’ll make much headway. I’ve been trying to get my office to do their dated files in YYYYMMDDHHMM for years. I do mine that way but I can’t get anybody else to comply. This meme lists that as a discouraged format, I guess the dashes are ISO but I don’t care about the dashes. I would accept doing YYYY-MM-DD over MMDDYYYY any time though.

    • Rai@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      1
      ·
      7 days ago

      All my coworkers now know that’s how dates work… I send out all of the reports and they can tear YYYYMMDD out of my arthritis-ridden hands

    • baltakatei@sopuli.xyz
      link
      fedilink
      arrow-up
      5
      ·
      8 days ago

      ISO 8601 recommends inserting a T between the calendar date portion and the time of day portion. So: 20250501T2210+00.

    • Mr. Satan@lemm.ee
      link
      fedilink
      arrow-up
      5
      ·
      8 days ago

      The Microsoft thing is entirely regional. It’s not that Microsoft does dates a certain way, it’s your regional defaults. I live in a country that does dates the ISO and the computer displays them thay way.


      Someone once told me that american date format follows the same pattern as regular speech. Like "26th of April, 2004. It made some sense to me, but that still feels a silly reason to discard just the sorting benefits.

  • vga@sopuli.xyz
    link
    fedilink
    arrow-up
    18
    ·
    edit-2
    7 days ago

    ISO 8601 allows all kinds of crazy time stamps. RFC 3339 is much nicer and simpler, and the sweet spot is at the intersection of ISO 8601 and RFC 3339.

    Then again, ISO 8601 contains some nice things that RFC 3339 does not, like ranges and durations, recurrences…

    https://ijmacd.github.io/rfc3339-iso8601/

  • essteeyou@lemmy.world
    link
    fedilink
    arrow-up
    32
    ·
    8 days ago

    My goodness, some of the comments in here must come from people who thought that those writing the standard were morons who did no research.

    • Katana314@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      2
      ·
      7 days ago

      I don’t think they’re morons…just slaves to convention and compatibility. Not many ways to get away from that and justify it.

  • JackbyDev@programming.dev
    link
    fedilink
    English
    arrow-up
    11
    ·
    8 days ago

    I feel like YYYYMMDD (without dashes) might be a format in ISO 8601, but I’m fully expecting to be corrected soon. But I didn’t say think, I said feel. YYYYMMDD has a similar vibe to YYYY-MM-DD, ya feel me?

    • compostgoblin@slrpnk.netOP
      link
      fedilink
      English
      arrow-up
      12
      ·
      8 days ago

      Nope, you are correct! From the Wikipedia page, which cites the standards document:

      • Representations can be done in one of two formats – a basic format with a minimal number of separators or an extended formatwith separators added to enhance human readability. The standard notes that “The basic format should be avoided in plain text.” The separator used between date values (year, month, week, and day) is the hyphen, while the colon is used as the separator between time values (hours, minutes, and seconds). For example, the 6th day of the 1st month of the year 2009 may be written as “2009-01-06” in the extended format or as “20090106” in the basic format without ambiguity.
  • ‮redirtSdeR@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    6
    ·
    7 days ago

    Feb 27th 2013

    Boom. Everything is in a different format so you can order it however you want and it’s still readable.

    • Bourff@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      7 days ago

      Why use abbreviations in your preferred language when you can have a solution that is language-agnostic and universal (for a given calendar) ?

      • WoodScientist@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        4
        ·
        7 days ago

        Because if there’s one problem simple enough that I trust an LLM or translation app not to fuck up, it’s simple translation of month labels from on language to another. If you’re writing in English, it’s reasonable to have month abbreviations in English. If someone wants to read it in a different language, they’re going to have to use translation software or hire a human translator to do it. And regardless of translation method, simple date translation will be among the most reliable and faithfully translated parts.

        • Bourff@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          7 days ago

          Or, you know, just use plain old numerals that almost everyone on earth can read and understand without needing a translation in the first place. Why the fuck do people need to bring LLMs where it’s not needed ? Is it to pump their NVDA stocks?

  • Lovable Sidekick@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    8 days ago

    Is there an ISO standard for how to say, “I don’t agree with a very specific aspect of your politics, or a specific statement one of your political heroes made, for a very specific reason, but I’m not declaring myself at the extreme horrible kitten-eating end of whatever political spectrum you live in.”

          • blazeknave@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            5 days ago

            It’s called feeling seen and finding you’re not alone. Do you type "# " while screen sharing in work apps to no avail and the chagrin of colleagues? It’s okay. Me too.

          • blazeknave@lemmy.world
            link
            fedilink
            arrow-up
            3
            ·
            5 days ago

            I’ve never met a fellow Templatr in the wild lol

            My daily note broke and my life fell apart for a minute.

            Have you also spent months building your Data Capture Workflow mermaid.js? 😅😬

            • compostgoblin@slrpnk.netOP
              link
              fedilink
              English
              arrow-up
              2
              ·
              4 days ago

              Not quite months, but definitely weeks 😂 Obsidian can be such a rabbit hole. If I tweak that last template one more time, then I’ll finally be done, I swear!

              • blazeknave@lemmy.world
                link
                fedilink
                arrow-up
                1
                ·
                2 days ago

                So I’m like 80% done with my setup. Mostly focused on routine and habit templates, homepage wiki for pkm etc… between the plugins and css, no matter which device I’m on, it’s the slowest app I’ve ever used. This is why I pushed my old setup and started over clean with more knowledge. I don’t know how to get the customization I want without insane unusable lag

    • blazeknave@lemmy.world
      link
      fedilink
      arrow-up
      8
      ·
      8 days ago

      Omg thank you!! Everyone sees my notes thinks I’m crazy for obsessing… It’s the correct fucking sort!

      • Saleh@feddit.org
        link
        fedilink
        arrow-up
        17
        ·
        8 days ago

        Can be solved with a small shellscript adding a leading zero to all filenames with the format.

      • thesmokingman@programming.dev
        link
        fedilink
        arrow-up
        3
        arrow-down
        1
        ·
        8 days ago

        I’d be curious to see a sorting algorithm that doesn’t handle YYYYY-MM-DD with YYYY-MM-DD properly. If you drop the dashes you still get a proper numeric order. If you sort by component, you still get the proper order. Maybe a string sort wouldn’t? Off the top of my head the languages I’m thinking either put longer strings later, giving us the proper order, or could put 1YYYY- ahead of 1YYY-M so maybe string sorting is the only one that’s out.

        • HailHydra@infosec.pub
          link
          fedilink
          English
          arrow-up
          18
          ·
          edit-2
          8 days ago

          Lexical sorting (string sorting/alphabetical order sorting) is what I believe they were referring to when talking about file names.

          The fact that you don’t have to do any parsing of the string at all, just do a straight character-by-character alphabetical sort, and they will be sorted by date, is a great benifit of this date scheme. That means in situations where no special parsing is set up (eg, in a File Explorer windows showing a folders contents sorted alphabetically) or where your string isn’t strictly date only (eg, a file name format such as ‘2025-05-02 - Project 3.pdf’) you can still have everything sorted by date just by sorting alphabetically.

          Its this benifit that is lost when rolling over to 5-digit years.

          • The_Decryptor@aussie.zone
            link
            fedilink
            English
            arrow-up
            2
            arrow-down
            1
            ·
            8 days ago

            It’s an easy fix at least, just check if you’re comparing numbers on both sides and switch to a simple numerical sort.

            I think Windows used to get this wrong, but it was fixed so long ago that I’m not even sure now.

          • JackbyDev@programming.dev
            link
            fedilink
            English
            arrow-up
            2
            ·
            8 days ago

            I bet you could make a one liner to rename files with YYYY-MM-DD to 0YYYY-MM-DD fairly easily. Not a problem.

      • GreyEyedGhost@lemmy.ca
        link
        fedilink
        arrow-up
        15
        ·
        7 days ago

        If I, my software, or my data last this long, I will have nearly 8000 years to resolve it. Which is to say, the year 9998 is going to get busy.

  • xeekei@lemm.ee
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    4
    ·
    7 days ago

    I just don’t like to be forced to include the damn year everytime, and if you cut the year from ISO 8601 you get the american MM-DD order, which everybody hates.

    I like DD/MM/YYYY. 🤷🏻‍♂️

    • MBech@feddit.dk
      link
      fedilink
      arrow-up
      5
      ·
      7 days ago

      If it’s just in casual conversation or emails DD/MM/YYYY is fine, but if you’re naming documents or something in a professional setting, you should really always include the year anyway.

  • Burninator05@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    2
    ·
    7 days ago

    Everyone should use date-time groups so we’re all on the same page down to the second.

    DDHHMMSSZmmmYY