• Fushuan [he/him]@lemm.ee
    link
    fedilink
    English
    arrow-up
    34
    ·
    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.