4 ms·
I find that most datepickers are better than the browser's default. It's a shame that they can't be styled more
by singiamtel 4mo ago
I find that most datepickers are better than the browser's default. It's a shame that they can't be styled more
- paularmstrong 4mo agoI agree with a caveat: Default date pickers on mobile devices are very good. But on desktop browsers they are terrible. They break design continuity in a very ugly way and have quirks between browsers and systems. And personally, the popup calendar they provide just too small. If the system took over the date picker on desktop like it does on mobile devices instead of forcing the browser to handle it, I feel like we could get somewhere better.
- king_geedorah 4mo agoI just went and confirmed this because it’s not something I’ve really looked at and I agree. The date picker you get from a straight up <input type=“date”> on iOS webkit is pretty nice. The one in webkit on macOS isn’t quite as good, but is better than the one in firefox if only because firefox closes the picker when you type a year in to move far through time. Good thing firefox is open source.
- pwdisswordfishs 4mo ago> I find that most datepickers are better than the browser's You mean your browser's. There is no "the browser".
- Shellban 4mo agoThe Google Chrome team would like a word with you.
- pwdisswordfishs 4mo ago[flagged]
- julianozen 4mo agoYes, but having worked on the date picker at Airbnb I can assure you almost every custom implementation (probably ours too!) messes up date picking in some region in an important way
- neals 4mo agoExcept...?
- ceejayoz 4mo agoThere’s no except. They all suck in some specific way.
- childintime 4mo agoJust let me type the date in the user's local format and put in the dashes/slashes with a regex (and remove them again before applying insert/Backspace/Delete). Almost always this is so messed up and broken. And slow. Sigh. You anonymous code authors are always working to bring the user down, even when there is a 1000000:1 ratio between them and you.
- smrq 4mo ago"Just" Spoken like someone who's never had to work on a date picker.
- zamadatix 4mo agoI'm surprised no browser has a HTML based implementation which has been copied/extended in styling.
- joenot443 4mo agoI agree. The date range selector used in Google Flights is a near flawless control. The implementation can be done, it’s just hard.
- poisonborz 4mo agoFrom your perspective. Ask people using non-gregorian calendars.
- omnimus 4mo agoThe colonial powers have been saying that forever. You should simply use gregorian calendars. Then your date pocking starts to work.
- CrimsonRain 4mo agoThose people should set fire to all their digital devices, and be banned from everything digital.
- joenot443 4mo agoThe only countries which use non-gregorian in any official capacity are Ethiopia, Nepal, Iran, and Afghanistan, right?