3 ms·
the most commonly used element that I use is the date picker. i hate using it, but i'm not loading some library or framework just for it either.
by dylan604 2y ago
the most commonly used element that I use is the date picker. i hate using it, but i'm not loading some library or framework just for it either.
- thousand_nights 2y agoi don't know what context you're using it in, but imagine a company like airbnb or booking.com using the built in date picker on their front page you might as well cut their public valuation in half at that point. it's just not worth it to use the completely neglected and anemic components that are part of the browser, they are a joke
- WD-42 2y agoWeird. I think the built in date picker is actually pretty nice.
- dylan604 2y agofunctionally it is perfectly fine. aesthetically, it looks nothing like any other component of the site's style. it very much looks like a band-aid
- dotancohen 2y agoIn which browser and OS?
- 8n4vidtmkvmk 2y agoThe native datepicker is weird, at least in Chrome. I was playing around with it, and if you give it milliseconds it will render a millisecond picker in intervals of 100. If you give it a nice round minute, then ms and s disappear from the UI. There's no attribute to control this. I also want a non-local time picker. Let me specify a time that the server can properly interpret as a moment in time. i.e specify an offset somehow.