fgelinas / timepicker

A jQuery UI Time Picker
http://fgelinas.com/code/timepicker
GNU General Public License v2.0
266 stars 84 forks source link

Custom defined hours range - plugin doesn't check for out of range time #91

Open ghost opened 8 years ago

ghost commented 8 years ago

when you specify your custom time, like this


    $('#foo').timepicker({
        hours: {
            starts: 6,
            ends: 19
        },
        minTime: {
            hour: 06,
            minute: 00
        },
        maxTime: {
            hour: 19,
            minute: 00
        });

it doesn't check for times like 19:45. This error can be observed on the plugin website as well