PitPik/tinyDatePicker

Hour drop down shows 24 as a valid entry

Opened this issue · 1 comments

Should the hour only display 0 through 23? Also, if the user types an invalid date or time, is there a validation function I can call to check the input?
Thank you for such a great tool!
Everardo

Hi @umbundu ,
Well, 0 through 23 is correct as 24 would then be 0.
24:15 would be an invalid time. The only thing missing here is 24:00, it is 00:00 then.

There is no validation included in tinyDatePicker when the user types something wrong. This task should be of a form validation tool, not of the UI.