Striker@lemmy.worldM to Mildly Infuriating@lemmy.worldEnglish · 1 year agoThis mofo was born on the wrong daylemmy.worldimagemessage-square45fedilinkarrow-up1402arrow-down126
arrow-up1376arrow-down1imageThis mofo was born on the wrong daylemmy.worldStriker@lemmy.worldM to Mildly Infuriating@lemmy.worldEnglish · 1 year agomessage-square45fedilink
minus-squareFushuan [he/him]@lemm.eelinkfedilinkEnglisharrow-up35·1 year 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·1 year agoStill software gore. Spacing should not matter, proper parsing should ignore whitespace in a simple format like this.
minus-squareKelsenellenelvial@lemmy.calinkfedilinkEnglisharrow-up2·1 year 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·1 year 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