News for hackers. Stuff that matters.
Re:Is htmx Just Another JavaScript Framework? by tangue on Thursday January 11, 2024 @12:23PM (#38955366)
Yep in 2024 we still haven’t found a generic datepicker and hundreds of people on the internet are coding their own version. HTML5 snafu
Re:Is htmx Just Another JavaScript Framework? by runarberg on Thursday January 11, 2024 @02:08PM (#38957182)
What is wrong with <input type="date">?
Re:Is htmx Just Another JavaScript Framework? by Koffiepoeder on Thursday January 11, 2024 @05:46PM (#38960539)
Timezone support, no date ranges (eg from-to), date formats are a mess (mdn: "At the moment, the best way to deal with dates in forms in a cross-browser way is to have the user enter the day, month, and year in separate controls, or to use a JavaScript library such as jQuery date picker."), often rules are needed (eg only weekdays), non gregorian calendars, ...

A good date input would cover at least like 80-90% of use cases in my opinion. From experience it's currently more something like ~40% or so.