• Alexstarfire@lemmy.world
    link
    fedilink
    English
    arrow-up
    68
    ·
    10 months ago

    Could be a bug but the more likely explanation is that the field doesn’t update until you try to leave it. So you put in a wrong date first, try to leave the field, get error message, then type in valid date and save a pic before leaving the field.

  • Fushuan [he/him]@lemm.ee
    link
    fedilink
    English
    arrow-up
    35
    ·
    10 months 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
      19
      arrow-down
      1
      ·
      10 months 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
        ·
        10 months 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
          ·
          10 months 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.

    • key@lemmy.keychat.org
      link
      fedilink
      English
      arrow-up
      17
      arrow-down
      2
      ·
      10 months 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
        6
        arrow-down
        1
        ·
        10 months 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.

    • LifeInMultipleChoice@lemmy.world
      link
      fedilink
      English
      arrow-up
      11
      ·
      10 months 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.

  • flango@lemmy.eco.br
    link
    fedilink
    English
    arrow-up
    16
    arrow-down
    5
    ·
    10 months ago

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

    • wolfpack86@lemmy.world
      link
      fedilink
      English
      arrow-up
      10
      ·
      10 months 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
          ·
          10 months 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
            ·
            10 months 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
              9
              ·
              10 months 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
                ·
                10 months 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
        ·
        10 months 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
        ·
        10 months ago

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

  • Transcriptionist@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    1
    ·
    10 months 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. 💜]

    • thatsTheCatch@lemmy.nz
      link
      fedilink
      English
      arrow-up
      17
      ·
      edit-2
      10 months ago

      But it says ‘DD/MM/YYYY’ just above the input field

      EDIT: it’s very possible that the input field library they use uses the American date format by default and they didn’t change it…

      • sfgifz@lemmy.world
        link
        fedilink
        English
        arrow-up
        11
        ·
        10 months ago

        it’s very possible that the input field library they use uses the American date format by default and they didn’t change it…

        Dev: But it works fine on my system!

        • CeeBee@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          10 months ago

          I’m happy that I taught the BA and project lead learned how to clear all site data for the application I work on. It has reduced the huge amount of

          “the issue is still there!”

          “Clear the cache”

          “It works now”

          And yes, I know I should be using something that notifies the browser to invalidate its cache. I’ll add it to my mile long list of tickets.