Striker@lemmy.worldM to Mildly Infuriating@lemmy.worldEnglish · 2 年前This mofo was born on the wrong daylemmy.worldimagemessage-square48fedilinkarrow-up1402arrow-down127
arrow-up1375arrow-down1imageThis mofo was born on the wrong daylemmy.worldStriker@lemmy.worldM to Mildly Infuriating@lemmy.worldEnglish · 2 年前message-square48fedilink
minus-squareFushuan [he/him]@lemm.eelinkfedilinkEnglisharrow-up35·2 年前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.
minus-squareMichal@programming.devlinkfedilinkEnglisharrow-up22arrow-down1·2 年前Still software gore. Spacing should not matter, proper parsing should ignore whitespace in a simple format like this.
minus-squareKelsenellenelvial@lemmy.calinkfedilinkEnglisharrow-up2·2 年前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.
minus-squarehypelightfly@kbin.sociallinkfedilinkarrow-up1·2 年前Even better, it should ignore all input except 0-9 so it doesn’t matter if you try to put spaces or other characters.
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.
Still software gore. Spacing should not matter, proper parsing should ignore whitespace in a simple format like this.
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.
Even better, it should ignore all input except 0-9 so it doesn’t matter if you try to put spaces or other characters.
It also shouldn’t require leading zeros