• blazeknave@lemmy.world
            link
            fedilink
            arrow-up
            0
            ·
            1 year 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
              0
              ·
              1 year 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
            0
            ·
            1 year 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
      0
      ·
      1 year ago

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

      • GreyEyedGhost@lemmy.ca
        link
        fedilink
        arrow-up
        0
        ·
        1 year 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.

      • Saleh@feddit.org
        link
        fedilink
        arrow-up
        0
        ·
        1 year 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
        0
        ·
        1 year 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
          0
          ·
          edit-2
          1 year 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 folder 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
            0
            ·
            1 year 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
            0
            ·
            1 year 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.

    • gaja@lemm.ee
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      You normally use dates to keep track of a series of stuff for future reference. We read left to right.

      Do you want to read 01 or 2013 first? Do you care about the day and month if it’s from 13 years ago?

      Relevance is made much more apparent in my opinion.

      • missandry351@lemmings.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 year ago

        Why would I gaf about years? Most of the time I do t even use years for anything and yes I prefer to read day first, month second, year isn’t even necessary depending of the situation

  • essteeyou@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 year 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
      0
      ·
      1 year 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.

  • 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?

    • waigl@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      1 year 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.

    • glaber@lemm.ee
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      1 year ago

      Hey, I quite like this! You’re the first person I’ve found that’s thought of fixing the calendar by adopting six-day weeks. I have a very similar personal version, with two main differences:

      • there’s a leap week instead of a leap day, that way weekdays are always the same without having to skip any and every year has a whole number of weeks (either 61 most years [roughly 7 out of every 8] or 60 on short years [roughly 1 out of every 8])
      • December includes this leap week and it’s either 30 or 36 days long, depending on the year. I put it at the end of December for the same logic that you put Saturnalia at the end of the year, to not mess with cardinal dates and so that the Xth day of the year is always the same date

      I also came to the same conclusion about workweeks. With two-day weekends, the Gregorian calendar has 71 % of workdays but the new calendar only has 67 %. On a thirty-day month this means 20 workdays instead of 21,5

        • glaber@lemm.ee
          link
          fedilink
          arrow-up
          0
          ·
          1 year ago

          Only in eight year chunks. By year seven there is more unalignment than there was in year one, but it goes back to normal on year eight. Same thing as with leap days, just a slightly bigger scale.

          In fact, with current rules, [the shift in the regular Gregorian calendar becomes quite big when considering 100-year and 400-year cycles](File:Gregoriancalendarleap_solstice.svg). In theory, a leap week calendar with new and updated rules could have a very comparable if not a smaller average deviation from the true solar date, though I haven’t ran the precise calculations

          • Ok, so, first, let me say that while I’m enthusiastic about the concept, I understand it’s entirely theoretical. We can’t even get US civilians to adopt metric, FFS. Just a caveat, lest anyone wander by and overhear us.

            That said, I did spend some cycles trying to see it it would be possibly to line up a lunar and solar calendar, and it’s not. And it isn’t nearly as important as it used to be. It would still have been nice.

            So if you do run calculations, I’d like to see them.

            • glaber@lemm.ee
              link
              fedilink
              English
              arrow-up
              0
              ·
              edit-2
              1 year ago

              Here they are! Orange represents my Leapweek calendar and blue is Gregorian. The Y-axis is deviation from the tropical year and the X-axis is the year number. It’s a 19200-year cycle to allow for both Gregorian and Leapweek to do entire iterations of their 400-year and 768-year cycles, respectively.

              The Gregorian rules are, as you already know: if a year is divisible by 4, it is a leap year; unless it is divisible by 100, when it is a common year; unless it is also divisible by 400, in which case it is actually a leap year.

              My Leapweek rules are: years divisible by 8, are leap (short, with 360 days instead of the usual 366) years, as are years divisible by 768 (after subtracting 4 so as not to clash with years divisible by 8). Just two rules as opposed to Gregorian’s three, but they result in almost perfect correction: it takes 625 000 years to fall out of sync by 1 day, as opposed to Gregorian’s 3 216 years for the same amount)

              The catch is that Leapweek falls out of sync by up to 5½ days either way in between 768-year cycles, and up to 2½ days either way in between 8-year cycles. But they average out.

              About the lunisolar I’m afraid to say that I ran into the same issue. Lunations are a very inconvenient duration to try and fit into neat solar days and months.

              I wish it weren’t as theoretical, because I really like this calendar, but yea. It’s one of those things that will be impossible to change even though there’s arguably better options. It’s too arbitrary yet too essential and it goes in the same box as the metric second/minute/hour, the dozenal system and the Holocene calendar.

              Here’s a challenge though: try and devise a Martian calendar! That one is not standardised yet. I had good fun trying to match the Martian sol and year to metric units of time and maybe giving some serious use to the kilosecond, megasecond and gigasecond

              As an extra, here’s a 1000-year version of the graph at the start of the reply, with the current year 12 025 of the Holocene calendar :^) in the middle

              • This is fantastic. I’m going to have to spend more time with it.

                Since we’re discussing timescales over which there’s a not insignificant chance something radical will happen to society, there’s also the fact that the day is getting longer by 2ms every hundred years. If you’re scheduling out 625,000 years, that’s 12-some seconds by the end, compounded - 6 extra seconds every day by the 312,000th year, etc.

      • 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.

  • partial_accumen@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 year 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.

    • FelixCress@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      You meant 27th Feb 2013, right? It is utterly moronic to have day in the middle irrespectively if you start with or finish on the year.

      • partial_accumen@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        You meant 27th Feb 2013, right?

        Does it matter anymore with this format? You figured out the exact day, month, and year irrespective of the order.

        • shrugs@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          1 year ago

          It’s not about understanding. It’s about sorting,

          Everybody understand both notations, but if you use it for filenames sorting is important. Natural sorting order is an important feature that should be considered.

          day month year is just stupid in that regard. Not only does the of the month depend on the language, but also if sorted you get the first of every month grouped together.

      • starman2112@sh.itjust.works
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        I assume it depends on geographical region, but I’ve never heard someone say out loud “27th of February, 2013.” It’s always “February 27th, 2013.” Writing it down like that could be easier to parse for people who are used to that format

          • starman2112@sh.itjust.works
            link
            fedilink
            arrow-up
            0
            ·
            edit-2
            1 year ago

            No, I’m American

            I want to get ahead of this debate, and point out that a) “American” as a demonym for literally anyone in the western hemisphere is largely useless, b) the USA is the only country which includes “America” in its name, and c) USian is not more precise because there are two countries with United States in their name.

              • starman2112@sh.itjust.works
                link
                fedilink
                arrow-up
                0
                ·
                edit-2
                1 year ago

                No, I’m American. It looks like you started writing this comment before I made the edit to mine, so I’ll go ahead and copy/paste it here

                a) “American” as a demonym for literally anyone in the western hemisphere is largely useless, b) the USA is the only country which includes “America” in its name, and c) USian is not more precise because there are two countries with United States in their name.

                • FelixCress@lemmy.world
                  link
                  fedilink
                  arrow-up
                  0
                  ·
                  1 year ago

                  So, you are a USian. I thought so. I never ever heard someone saying “February 27th 2018”, I think only USians do that. Everywhere else it is 27th of February 2018 which is logical.

    • Mr. Satan@lemm.ee
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      Jokes on you, I can’t fucking rember which English month is which. April, May, July and Autum is just a grey mass to me.

      • SippyCup@feddit.nl
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 year ago

        Autumn is a season lol

        I think you mean August.

        September, October, November and December are easy to remember because they’re Roman numbers. 7-10 But two off because at some point they added July and August to honor Julius Augustus. So “month seven” is the 9th month.

        • Mr. Satan@lemm.ee
          link
          fedilink
          arrow-up
          0
          ·
          1 year ago

          Honestly I do remember some months, like starting and ending of the year. I don’t encounter English month names on a regular enough basis to remember their order and my month names in no way relate to English ones.

          So anything after February and before August I have to google each time I encounter them.

          It doesn’t help that we don’t even have month abbreviations like English does (Jan, Feb, etc.).

      • starman2112@sh.itjust.works
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        1 year ago

        My biggest point of professional pride was the time my boss sent a mass group text to all his employees asking them to format dates the way I do

        He didn’t say it was the format I used, so I didn’t speak up and say “it’s actually ISO-8601,” because I assume my coworkers who were used to writing things like “February 27 8:00-4:45” rather than “2013-02-27 8:00-4:45 (8:45)” may stab me

    • m_‮f@discuss.online
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      Do you mean the post titles? I’ve been using the same format as was used since before I took over posting, but if people want ISO format that works for me

  • jaxxed@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    I was going to comain until I realized that the fprmat is the one that I prefer.

  • Sculptus Poe@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 year 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.

    • Mr. Satan@lemm.ee
      link
      fedilink
      arrow-up
      0
      ·
      1 year 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.

    • baltakatei@sopuli.xyz
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

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