PitPik / tinyDatePicker

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

Problem with selecting time with 00 minutes, when minuteSteps is anything greater than 1 (default is 5) #13

Open jawinn opened 6 years ago

jawinn commented 6 years ago

If the time displayed is say, 1:27, you can't select "00" in the minute selector without first choosing some other random time first.

If the time does not match up with the values in the select, created by minuteSteps (0, 5, 10, etc), then the select will be set to zero. When you select zero again, it likely it not registering a change in value, so the time does not update.

To get around this for the time being, I've had to set minuteSteps to 1 (which is a rather long select menu).