trentrichardson / jQuery-Timepicker-Addon

Adds a timepicker to jQueryUI Datepicker
http://trentrichardson.com/examples/timepicker/
MIT License
2.66k stars 1.05k forks source link

Setting midnight value is not intuitive #919

Open jerchap opened 7 years ago

jerchap commented 7 years ago

If my input control has no time value, and I invoke the time picker, the time picker dialog actually shows 00:00. If all I do is click done the picker disappears and the input control stays empty. If I want to specify midnight I have to invoke the time picker, then move the sliders to a different value and back again, then click done, which isn't very intuitive.

I would think that if the input control has no time value, the picker dialog should not display 00:00 and the sliders should be in a state that does not show 0 hours and 0 minutes so that the user would drag the sliders to 0 rather than away from 0 and back.