trentrichardson / jQuery-Timepicker-Addon

Adds a timepicker to jQueryUI Datepicker
http://trentrichardson.com/examples/timepicker/
MIT License
2.66k stars 1.05k forks source link

minDate affects time #674

Open pwkelly opened 10 years ago

pwkelly commented 10 years ago

I have the datepicker and timesliders working nicely, but want to prevent picking a date in the past. When I set the minDate to 0, I can't pick a day in the past, which is what I want. However, the hour and minute time sliders to go the current time, which is fine, but not the hour and minute intervals are offset by the current time. What I want is when I go to a day in the future, for the hour and minute sliders to reset to 0. Is this possible? Thanks

pstoneg commented 10 years ago

Try doing "+0D"