Hacker News new | ask | show | jobs
by shric 1817 days ago
I'd say it's the backend's job to accept any of those and reformat accordingly. If you rely on the frontend the backend would still have to validate it anyway.
1 comments

Yup. If you’re going to do validation on the frontend, it should be for the sole purpose of improving user experience, not for making life worse!