Add a case to the valid check
Sw0rdiX opened this issue · comments
Nils commented
appointment-picker/js/appointment-picker.js
Line 319 in 3289e99
maxTime sets the maximum hour that can be picked, default is 24
it mean that e.g 9 is set that 9:15 cannot be picked or ?
if yes, add please this check (hour === opt.maxTime && minute) for the intervals, in the moment u can pick 9:00 as last maxTime is correct, but not the 9:[intervals].
} else if(hour === opt.maxTime && minute > 0){
Jan Suwart commented
@Sw0rdiX indeed, you are right. Fix is on the way...