• thesmokingman@programming.dev
    link
    fedilink
    arrow-up
    48
    ·
    2 days 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?

    • Saleh@feddit.org
      link
      fedilink
      arrow-up
      38
      ·
      2 days 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.

        • MapleMan@lemmy.ca
          link
          fedilink
          English
          arrow-up
          12
          ·
          2 days ago

          If you name files or other data with ISO 8601 then they’re always sorted chronologically when you go largest to smallest.

        • modeler@lemmy.world
          link
          fedilink
          arrow-up
          8
          arrow-down
          1
          ·
          2 days ago

          I know, right! I’ve been campaigning for this for everyday numbers. For example, twenty seven should be written smallest first: 72. Likewise this year is 5202, and next year 6202. That way no-one’s going to be confused at all.

    • dragon-donkey3374@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      arrow-down
      20
      ·
      2 days ago

      When someone asks you what date it is, no one says it’s 2025 May 5th. We all know what year it is, and we all know what month we are in. It’s the day component that is usually the unknown.

        • Imgonnatrythis@sh.itjust.works
          link
          fedilink
          arrow-up
          4
          ·
          2 days ago

          Guilty of that myself this very day. I did it a very spectacular way too. Some coworkers came up to me and said “man, April was a busy month for you!” I boldly replied “and it ain’t even over yet!” I was promptly corrected.

      • SwingingTheLamp@midwest.social
        link
        fedilink
        arrow-up
        7
        ·
        2 days ago

        That’s locality of reference, though, similar to how you can say “here” or “there” for spatial coordinates. Everybody is aware of the year and month, so you omit it as given. The order of significance is still year, month, day.

        Imagine if a harried time traveler jumped out of their time machine and asked you the date. Would it make sense to say, “Why, it’s the 1st.” (Or more possible, if a friend awoke from a coma.) If you ask somebody when they were born, most people will give the year at minimum. Of course, there are some weirdos out there, and you recognize them when you ask when they were born, and they say, “on a Tuesday.” Same for the date of the Norman invasion of Great Britain. If you don’t already have some sense of history, then knowing it happened about the 20th isn’t very edifying.

      • i_love_FFT@jlai.lu
        link
        fedilink
        arrow-up
        9
        ·
        2 days ago

        Writing dates is usually in order to keep track for the future, when the year and month may be different.

    • Lovable Sidekick@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      3
      ·
      edit-2
      2 days ago

      It solves the familiarity problem, when getting somebody to do something by a date they readily understand at a glance takes precedence over making everybody in the world change a lifelong habit.

    • sajuukar@retrolemmy.com
      link
      fedilink
      English
      arrow-up
      14
      arrow-down
      16
      ·
      2 days 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!

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

          2013-02-27 is also unambiguous.

          Hey what’s today’s date?

          It’s 2025 -

          No like the DAY?

          Yeah, it’s 2025, 02 -

          Not the month, the day - What’s today’s actual date?

          Like I was saying, if you’d let me finish, “2025 - 02 - 27”

          I’m mostly joking, but when it comes to info about dates, I think the most evctive format it one that organizes the information within a heirachy that provides follow up answers.

          Formatting dates as day / month / year does just that. Provides the day it is, followed by the month and year as that is the order that information is usually needed in.

          I find providing the year first (or month) is much more ambiguous as neither are the day the actual date falls on.

            • someacnt@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              1
              ·
              2 days ago

              I was said that western mindset goes from small scale to larger scale, like 02-05-2025. Hmm, maybe that’s West vs East propaganda material?

          • faythofdragons@slrpnk.net
            link
            fedilink
            English
            arrow-up
            10
            arrow-down
            2
            ·
            2 days ago

            We need to get rid of the month/day and just refer to days by number. Today is day 121 in the year 2025, it’s super clear.

          • thebestaquaman@lemmy.world
            link
            fedilink
            arrow-up
            4
            ·
            2 days ago

            Counterpoint: What you say applies in daily life, not when querying an archive of any kind. Year-month-day is the natural sorting order if the question is “which file/folder/column in the spreadsheet is the one I need?” In which case you narrow it down to first the year, then the month, then the day.

            I started using YYYY-MM-DD to name files and directories once I noticed that they then became automatically sorted chronologically when I sort the containing directory alphabetically by file name.

          • goldfndr@lemmy.ml
            link
            fedilink
            arrow-up
            4
            ·
            edit-2
            2 days ago

            If you need to ask for the current date so often, I suggest getting a watch. (not sure if joking vs predisposed for this part)

            If you’re asking so often about recent things then, yes, hearing the redundant parts out loud is only irksome because they’ve already been delivered to you (by yourself).

            On the other hand, if you’re asking someone when an arbitrary event happened (e.g. when reminiscing), having the year first quickens context.

      • scratchee@feddit.uk
        link
        fedilink
        English
        arrow-up
        5
        ·
        edit-2
        2 days 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.

      • I used to work for a company that agreed with you, well at least some clown in management did. Even though it was an Australian company, at least part of the problem was we had an office in Manila, and they speak “American English” which seemed to include the awful date system too. We dealt with a lot of files being issued to clients / received from vendors etc. Because the “official” system used those fucked up dates, everyone ran their own secondary sets of data folders in / out with everything done in ISO dates so you could actually sort it properly.