Comments on: The woes of date input https://stevefaulkner.github.io/html5doctored/the-woes-of-date-input/ helping you implement HTML5 today Thu, 28 Jul 2016 17:36:34 +0000 hourly 1 By: Mark https://stevefaulkner.github.io/html5doctored/the-woes-of-date-input/#comment-2123161 Wed, 25 May 2016 22:16:45 +0000 http://html5doctor.com/?p=5961#comment-2123161 The folks at google seem to be very lazy. They start things and either do not finish them or they abandon them. The min and max attributes in the time tag behave completely different from expected. After beating the Microsoft Devil, he deserves his due because the time tag and its attributes work exactly as expected in Edge.

To set values related to 12:00, 18:00 and 24:00/00:00 you need to use 11:59, 17:59 and 23:59 hrs respectively, which means you lose the precise functionality in browsers that work correctly with those values.

There are also longstanding CSS3 issues with Chrome and the google browser on Android devices; but that’s another matter.

]]>
By: Christof https://stevefaulkner.github.io/html5doctored/the-woes-of-date-input/#comment-2116637 Wed, 27 Apr 2016 21:11:37 +0000 http://html5doctor.com/?p=5961#comment-2116637 @Nick: Ok, can be in some circumstances. But then it looks the cleanest, is very usable with touch which a month table view sometimes is not. And I normally know the date day but not weekday. So I would not say it is poor but different.

BTW, Safaris datetime-local support is broken it seems. It shows UI for Date and Time but there is no way to select a *year* for the date?! Tested e.g. on iPad 2, iOS 9.3. Chrome and Edge both show a usable Date+Time picker UI. Web worked around this using separate Date and time inputs but that kinda neglects the purpose…

]]>
By: Nick Coad https://stevefaulkner.github.io/html5doctored/the-woes-of-date-input/#comment-2110018 Sun, 03 Apr 2016 22:38:39 +0000 http://html5doctor.com/?p=5961#comment-2110018 Christof – my only complaint would be that it doesn’t show the day of the week, can make selecting dates painful in some contexts. Think about booking flights for a holiday for example, where you’ll probably want to book on a specific day of the week, but the week might be flexible.

]]>
By: Christof https://stevefaulkner.github.io/html5doctored/the-woes-of-date-input/#comment-2086015 Fri, 29 Jan 2016 15:48:02 +0000 http://html5doctor.com/?p=5961#comment-2086015 > Microsoft Edge opens a datepicker, but its UI is very poor

Why is the UI poor? I quite like it and its simple enough. Different to your standard month view but this does not make it bad, or does it?

]]>
By: Maksim https://stevefaulkner.github.io/html5doctored/the-woes-of-date-input/#comment-2084489 Mon, 25 Jan 2016 03:13:30 +0000 http://html5doctor.com/?p=5961#comment-2084489 Another method to disable browser implementation I use in better-dateinput-polyfill Is just to change the input type to “text”.

]]>
By: Nico https://stevefaulkner.github.io/html5doctored/the-woes-of-date-input/#comment-2084323 Sun, 24 Jan 2016 13:56:09 +0000 http://html5doctor.com/?p=5961#comment-2084323 I agree with Marc that calendars are a hard thing to do right. But that’s only more of a reason for browsers doing them right. Otherwise we have to use libraries which normally don’t have the manpower to test this thoroughly and we will be stuck with implementations that may work fine for the next years but sometime will turn out broken for unexpected reasons.

]]>
By: Marc Brooks https://stevefaulkner.github.io/html5doctored/the-woes-of-date-input/#comment-2083137 Thu, 21 Jan 2016 03:22:41 +0000 http://html5doctor.com/?p=5961#comment-2083137 The main reason all of these suck so bad is that calendars are hard… once you step outside the easy Gregorian calendar in “recent” times, things get nasty… and don’t get me started about timezones (and local-datetime)

]]>
By: Ian Devlin https://stevefaulkner.github.io/html5doctored/the-woes-of-date-input/#comment-2082874 Wed, 20 Jan 2016 15:57:16 +0000 http://html5doctor.com/?p=5961#comment-2082874 I too am wondering the same Nico, as it is such a common pattern. Opera’s Presto engine did indeed implement a fairly decent one, I must test it to see if it also had some of the quirks of WebKit.

Thanks for pointing that out Igor, it is now fixed.

]]>
By: Igor https://stevefaulkner.github.io/html5doctored/the-woes-of-date-input/#comment-2082718 Wed, 20 Jan 2016 08:37:38 +0000 http://html5doctor.com/?p=5961#comment-2082718 Link to WebKit prefixed selectors specification is broken.

]]>
By: Binyamin https://stevefaulkner.github.io/html5doctored/the-woes-of-date-input/#comment-2082473 Tue, 19 Jan 2016 19:41:15 +0000 http://html5doctor.com/?p=5961#comment-2082473 “year” up to 4-digit Chrome Issue #579181

]]>