Striker@lemmy.worldM to Mildly Infuriating@lemmy.worldEnglish · 2 years agoThis mofo was born on the wrong daylemmy.worldimagemessage-square46fedilinkarrow-up1400arrow-down127
arrow-up1373arrow-down1imageThis mofo was born on the wrong daylemmy.worldStriker@lemmy.worldM to Mildly Infuriating@lemmy.worldEnglish · 2 years agomessage-square46fedilink
minus-squareFushuan [he/him]@lemm.eelinkfedilinkEnglisharrow-up35·2 years agoAnother 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 years agoStill software gore. Spacing should not matter, proper parsing should ignore whitespace in a simple format like this.
minus-squareKelsenellenelvial@lemmy.calinkfedilinkEnglisharrow-up2·2 years agoEven 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 years agoEven better, it should ignore all input except 0-9 so it doesn’t matter if you try to put spaces or other characters.
minus-squareonion@feddit.delinkfedilinkEnglisharrow-up2·1 year agoIt also shouldn’t require leading zeros
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