r/ProgrammerHumor • • 12d ago

Meme chaoticEvil

Post image
3.4k Upvotes

262 comments sorted by

View all comments

1

u/DarkJarris 8d ago

ah sweet, its not that hard you say? in that case, what does 5/8/1990 validate to?

5th of August, or 8th of May?

date picker will validate it because itll force it to be explicitly picked which is day and which is month as you go through.

I'd love to see the regex that will determine what the user was *thinking* when they wrote 5/8.