0

I've been struggling with this all day.

I've been using <input type="time" /> for a long time in one of our company web apps, and only recently did I discover that this has only been showing a dropdown with 5-minute intervals in IE and Firefox.

I assume the same is happening in Safari, based on this page.

Is there any solution so that this will work across all browsers?

As a side note, it seems pretty ridiculous that these extremely popular browsers wouldn't support the new HTML5 input types. Super frustrating.

Anyways, thanks in advance for the help.

keeehlan
  • 7,874
  • 16
  • 56
  • 104

3 Answers3

2

I would suggest you to use a javascript time picker. It works more reliably then the default one. Have a look at

Whats a Good Javascript Time Picker?

Hope this help.

Community
  • 1
  • 1
Toan Nguyen
  • 11,263
  • 5
  • 43
  • 59
1

Unfortunately Date/time input types are still CSS Working Drafts. So if you want to make it work across all browsers, you have no choice but to use a polyfill. Like this one for example.

marcosbdm
  • 1,002
  • 8
  • 8
  • Good idea, but it looks and works like trash in IE10. These other browsers need to keep up with the times, like damn. – keeehlan Feb 18 '14 at 01:01
0

I ended up going with DateBox.

keeehlan
  • 7,874
  • 16
  • 56
  • 104