tinyDatePicker icon indicating copy to clipboard operation
tinyDatePicker copied to clipboard

Hour drop down shows 24 as a valid entry

Open umbundu opened this issue 7 years ago • 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

umbundu avatar Jun 27 '17 13:06 umbundu

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.

PitPik avatar Jul 01 '17 15:07 PitPik