News for hackers. Stuff that matters.
Re:Safari's date-picker is the cause of 1/3 of our customer ... by shadowgovt on Tuesday December 27, 2022 @09:58AM (#34149202)
In the 21st century, every date picker should be able to accept both mouse and keyboard input and be very permissive about what is allowed.

There should be a text box I can just type "January 1 2022" or "2022-1-1" or "4/20/69" into, and it just figures it out (with a disambiguation dialog and 'save as default' popped if I feed it something ambiguous).

Re:Safari's date-picker is the cause of 1/3 of our customer ... by dclowd9901 on Tuesday December 27, 2022 @10:30AM (#34149468)
But that’s exactly the problem. A good website employs an “international-first” approach. As such, having such lenient formatting can be a compounding problem pretty quickly as you’re trying to accommodate all types of formatting dates for all languages and regions.

Imo, the site to plainly and explicitly require an exact type of date formatting. It’s very easy to validate and they can even help with formatting.

Re:Safari's date-picker is the cause of 1/3 of our customer ... by shadowgovt on Tuesday December 27, 2022 @10:38AM (#34149535)
The site shouldn't have to do any of that. Ideally, the client-side date picker should handle it (it has the context to know user preference on whether "4-1-69" means January 4 or April 1, and the context to know to ask for clarification if it doesn't know the user's preference yet).