• Fushuan [he/him]@lemm.ee
    link
    fedilink
    English
    arrow-up
    35
    ·
    1 year ago

    Another possible case no one seems to have mentioned. That the CSS doesn’t do that kind of spacing automatically, and that the user manually put in spaces this creating an invalid date for the lulz.

    • Michal@programming.dev
      link
      fedilink
      English
      arrow-up
      22
      arrow-down
      1
      ·
      1 year ago

      Still software gore. Spacing should not matter, proper parsing should ignore whitespace in a simple format like this.

      • Kelsenellenelvial@lemmy.ca
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        Even better, the appropriate spacing/symbols should be automatically added so the user doesn’t have to worry if the form is going to parse whitespace.

        • hypelightfly@kbin.social
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          Even better, it should ignore all input except 0-9 so it doesn’t matter if you try to put spaces or other characters.

    • LifeInMultipleChoice@lemmy.world
      link
      fedilink
      English
      arrow-up
      10
      ·
      1 year ago

      I’m going to guess they typed 02/17/2008 the first time to denote Feb 17th as is fairly standard with American apps. It then told him it was invalid because there arent 17 months in a year because it was the wrong format. They typed it correctly after and took a screen shot before pressing submit. (Making it so the error was still on screen from the previous bad submission. )

      That is all just a guess though.

    • key@lemmy.keychat.org
      link
      fedilink
      English
      arrow-up
      12
      arrow-down
      2
      ·
      1 year ago

      Remind is a communication platform that reaches students and families where they are and supports learning wherever it happens.

      • Mane25@feddit.uk
        link
        fedilink
        English
        arrow-up
        5
        ·
        1 year ago

        There was nothing in the post indicating what app this was and “Remind” is a generic enough word, even if upper-cased, to make the service not obvious. It could be a porn-site for what we know, in which case that date should naturally be rejected.

  • flango@lemmy.eco.br
    link
    fedilink
    English
    arrow-up
    17
    arrow-down
    7
    ·
    1 year ago

    Just want to say that DD/MM/YYYY is the superior date format. 💪🗓️

    • wolfpack86@lemmy.world
      link
      fedilink
      English
      arrow-up
      10
      ·
      1 year ago

      It’s likely the birthday is being rejected for not meeting minimum age to consent to the TOS.

        • Chocrates@lemmy.world
          link
          fedilink
          English
          arrow-up
          5
          arrow-down
          1
          ·
          1 year ago

          Yeah… I am stoned but this looks like it should be valid and there is just a bug in the code.

          • dukk@programming.dev
            link
            fedilink
            English
            arrow-up
            6
            arrow-down
            1
            ·
            1 year ago

            I’m guessing the UI designer accidentally put in DD/MM/YY, when the code handles the date as MM/DD/YY.

            • timkenhan@sopuli.xyz
              link
              fedilink
              English
              arrow-up
              10
              ·
              1 year ago

              Sometimes if the developers don’t specify, the date format can follow clients’ settings, which can lead to unpredictable results like this.

              • dukk@programming.dev
                link
                fedilink
                English
                arrow-up
                2
                arrow-down
                1
                ·
                1 year ago

                Yeah, I’d imagine you’d want to adapt for different locales. Here in the US, MMDDYY is pretty ubiquitous, but I’m sure it’s different in other countries.

      • JoBo@feddit.uk
        link
        fedilink
        English
        arrow-up
        21
        arrow-down
        2
        ·
        1 year ago

        95% of people are not USian and also, can read the requested date format correctly.

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

        tell me you are from the US without telling me you are from the US

  • Transcriptionist@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    1
    ·
    1 year ago

    Image Transcription:

    A screenshot from the setup of the Remind mobile application with an image of a calendar and the text

    "What is your birthday?

    This will stay private to you and will help keep Remind safe

    Birthday

    DD/MM/YYYY"

    Followed by a text field that has been filled out with the date “17 / 02 / 2008”.

    Below the text field is the red error text reading “Please enter a valid date”

    [I am a human, if I’ve made a mistake please let me know. Please consider providing alt-text for ease of use. Thank you. 💜]

  • barsoap@lemm.ee
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    11
    ·
    1 year ago

    The only thing worse than mm/dd/yyyy is dd/mm/yyyy. Use a bloody different separator if you’re writing dates correctly.

      • barsoap@lemm.ee
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        4
        ·
        1 year ago

        It’s already in use for mm/dd/yyyy. When I see slashes I expect that, when I see dots I expect dd.mm.yyyy, when I see hyphens I expect yyyy-mm-dd.

        And then comes along a random I guess Canuck and writes something totally incomprehensible.

        • MyNotPublicAccount@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

          it’s already in use for mm/dd/yyyy

          No, it’s already in use for dd/mm/yyyy. When the majority of the world sees slashes (with the four-digit year at the end), they expect that. Americans are the ones making things ambiguous.