Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Huh? What if a person is born in December? Wont it accept 22/12/1997?
I think a terrible check is at the back-end but still couldn't think of one language which won't convert 09 to just 9 by default😵 -
@TitanLannister What if it's matching the string every time with an array of strings from 1-12. 😂
-
Makes sense. The code might ignore the first 0 because they are getting the numbers as ints.
Related Rants
I recently filled out an e-form that asked you to fill out your birthday in the format of:
DD/MM/YY
but it didn't accept 22/09/1997
I was confused at first. I'm over 18 what's the issue?
Turns out it would only accept 22/9/1997
What sort of monster does that?
rant
pain.
online forms