• rtxn@lemmy.world
            link
            fedilink
            arrow-up
            3
            ·
            edit-2
            3 months ago

            Bold of you to assume there isn’t already a genestealer cult on Terra. Washington specifically.

      • thesmokingman@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        3 months 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
          4
          ·
          edit-2
          3 months 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.

      • Saleh@feddit.org
        link
        fedilink
        arrow-up
        2
        ·
        3 months ago

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

  • partial_accumen@lemmy.world
    link
    fedilink
    arrow-up
    13
    arrow-down
    1
    ·
    3 months ago

    I regularly work with Americans, Canadians, and Europeans. So many times each group defaults to their own format and mistakes occur I gave up on all the formats listed by OP. If i have to write a date in correspondence its like: Feb 27th 2013. No ambiguity. No one has ever challenged me on it either. It is universally understood.

  • RFC-3336

    I figured there were problems with existing calendars, so I created a new one to supersede all others. That reminds me, though: I need to declare the “official” format for the calendar, to avoid all this nonsense.

    I see a window of opportunity, here. Normally, there’s no chance for any calendar revision to succeed in adoption; however, I think if I use the right words with the President, I could get it pushed into adoption by fiat. Y’all had best start learning my new calendar to get ahead of everyone else.

    Note for the humorously disadvantaged: the Saturnalia Calendar is a mechanism through which I’m playing with a new (to me) programming language. I am under no disillusion that anyone else will see the obvious advantages and clear superiority of the Saturnalia Calendar, much less adopt it. And no comments from the peanut gallery about the name! What, did you expect me to actually spend time thinking of a catchy name when a perfectly good, mostly unused one already existed?

      • That’s where I started. I wanted a little project to try V on, and had come across the IFC, so I wrote a thing. While I was doing that, I got to thinking about the deficiencies and inherited complexities in IFC, and thought up Saturnalia.

        If you pop up to my profile in Sourcehut, you’ll find a similar program - just a lot longer and more complex, for IFC.

        I don’t know if they makes me a genius, but yes. Yes it does.

    • waigl@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      3 months ago

      Why does nobody mention the Discordian calendar? 5 days per week, 73 days per month, 5 months to a year (Chaos, Discord, Confusion, Bureaucracy and the Aftermath). On leap years, it adds one additional day (St. Tib’s day) with a name but no numerical date.

  • thesmokingman@programming.dev
    link
    fedilink
    arrow-up
    6
    ·
    3 months ago

    There are several people in the comments saying they have to use 27 Feb 2013 because they work with people all over the world. I’m really confused - what does that solve that 2013-02-13 does not? I know that not every language spells months the English way so “Dec” or “May” aren’t universal. Is there some country that regularly puts year day month that would break using ISO 8601 or RFC 3339?

    • sajuukar@retrolemmy.com
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      1
      ·
      3 months ago

      27 Feb 2013 is unambiguous- regardless of where you’re from or how you write your dates, you can’t confuse 2013 for the month or day, you can’t confuse Feb for a day or week, and if you can’t figure 27 out, then we have bigger problems!

      • scratchee@feddit.uk
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        3 months ago

        Which I was the justification used when my work decided to use 2025-May-01.

        It’s close enough to the iso date that nobody will be confused but with that 1 extra layer of security blanket to separate months and days.

        Of course, that does ruin sorting, so I think it was a bit silly, nobody has ever used yyyyddmm so it’s all a bit theoretical to me.

    • Saleh@feddit.org
      link
      fedilink
      arrow-up
      2
      ·
      3 months ago

      I think learning all abbreviations for different months in different languages is more complicated than just learning that the time is sorted from largest to smallest unit.

  • Sculptus Poe@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    edit-2
    3 months 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.

    • brsrklf@jlai.lu
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      3 months ago

      So, assuming you got the time wrong and meant you could confuse year and time of day, ISO also puts time after date.

      2025-05-01T18:18:03Z

      Which makes sense. Higher unit to lower unit.

    • TechGuy@discuss.online
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      3 months ago

      10:13pm or 8:13pm? I can see how this is confusing… perhaps another cartoon with more guidance might be needed.

      Personally I like date time groups: 272013 Feb 2013

    • Empricorn@feddit.nl
      link
      fedilink
      English
      arrow-up
      9
      arrow-down
      1
      ·
      3 months ago

      For your example, maybe. If someone writes 8/3/2012, you don’t know which is month/day. And if they shorten it to 08/03/12 you literally can’t even conclusively determine the year, much less the month or day…

      • Ekky@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        4
        ·
        3 months ago

        That’s what we Europeans call a “petty answer to the disgrace that is Amarican military time” (not the be confused with regular Amarican time and dates, which don’t allow overflow, as far as I’m aware). The date described above is clearly “the second of March, 2015” or 2015-03-02.

  • Noerknhar@feddit.org
    link
    fedilink
    arrow-up
    4
    arrow-down
    2
    ·
    3 months ago

    I’m working in an international company with colleagues around the world. To avoid confusion, I switched to using this format:

    27-FEB-2013

  • zabadoh@ani.social
    link
    fedilink
    arrow-up
    3
    arrow-down
    2
    ·
    edit-2
    3 months ago

    Nothing irritates me more than the “01-May-25”, “DD-Mon-YY” i.e. the way Oracle databases format dates by default.

  • Guidy@lemmy.world
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    3 months ago

    This format can fuck off. I prefer the unambiguous format 2FEB2013.

    Checkmate, date snobs.

    And yes, nations are free to use their appropriate abbreviations for the months.