PitPik / tinyDatePicker

NEW: Tiny javascript and jQuery date / time picker [datepicker]
http://www.dematte.at/tinyDatePicker/
MIT License
57 stars 14 forks source link

Hour drop down shows 24 as a valid entry #10

Open umbundu opened 7 years ago

umbundu commented 7 years ago

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

PitPik commented 7 years ago

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.