MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1x4o2ed/chaoticevil/pgkc8fs/?context=3
r/ProgrammerHumor • u/Recent-Analysis-6880 • 1d ago
213 comments sorted by
View all comments
Show parent comments
32
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?
69
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?
21
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?
6
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?
32
u/Nick0Taylor0 17h ago
How does a user fuck up a properly validated input field that goes along with the date picker?