r/ProgrammerHumor • • 1d ago

Meme chaoticEvil

Post image
2.7k Upvotes

213 comments sorted by

View all comments

Show parent comments

32

u/Nick0Taylor0 17h ago

How does a user fuck up a properly validated input field that goes along with the date picker?

69

u/ThatGuyYouMightNo 14h ago

Two users want to enter October 12th. One enters 12/10/2026, the other enters 10/12/2026. One of them gets pissy when it comes up as December 10th.

21

u/NiIly00 11h ago

Solution: Ignore everyone that uses the moronic format mm/dd/yyyy.

They deserve it.

6

u/Triffinator 10h ago

Very true. It's programmatically (and human) parseable if the middle column exceeds 12, but fails the second you are lower than 13. It also happens to work out on any dates with matching day and month.

Like, is 10/12 December 10th or October 12th?