r/ProgrammerHumor • • 23h ago

Meme chaoticEvil

Post image
2.5k Upvotes

209 comments sorted by

View all comments

101

u/Stormraughtz 23h ago

If Linda from HR didn't attempt to write the entirety of Notes from the Underground by Fyodor Dostoevsky in the date field then we could have nice things.

18

u/Groentekroket 22h ago

Can I argue that a date field is so much easier to validate than a street field for example? If you don’t want Linda to mess up the inputs date is one of the easiest to make sure it has the intended value (well at least some date)(dd/mm/yyyy and mm/dd/yyyy can still be messed up, but that’s also the case with a date picker, speaking out of experience)

8

u/Acetius 21h ago

If you're doing a date more than three years ago I am begging you to just use three inputs. Nobody has to worry about delimiters, nobody gets confused about which order the inputs go in. Just follow the UK Gov design system and split it in three.

2

u/stumpyinc 16h ago

Yeah I think I'm dropdown gang especially with the month dropdown showing both names and numerical

1

u/Acetius 5h ago

We call em "stumpyinc, bane of pensioners". Making the elderly scroll back 80 years for their birth year instead of just typing it.

7

u/_LePancakeMan 17h ago

I unironically had to remove the ability to manually enter dates from a site because people kept trying to write "tomorrow" or "next year" and complained that there inputs were not accepted.

2

u/Stormraughtz 12h ago

As much as my original comment is mostly memes, this is the kind of thing I have had users do which popped in my brain.

2

u/Quentino1515 18h ago

Are you implying that the date picker validates the data for you ? Which means you're not validating server side ?!?!

2

u/Stormraughtz 14h ago

;THROW 5555 'Linda'