mugifly / jquery-simple-datetimepicker

Date & time picker for jQuery, It's simple & clean.
http://mugifly.github.com/jquery-simple-datetimepicker
Other
260 stars 182 forks source link

Limiting to future dates only is broken #71

Closed fredrik-w closed 10 years ago

fredrik-w commented 10 years ago

Hi,

When enabling the "futureOnly" option you can still select a date in the past using the mousewheel.

If you use the example given at the bottom page here: http://mugifly.github.io/jquery-simple-datetimepicker/jquery.simple-dtpicker.html

Use the mouse wheel to scroll backwards and all of suddenly you're in the past, able to select a date which isn't in the future.

Tested with Firefox 24.0 and Chromium 30.0.1599.101 using version 1.8.0 (218d8aa).

fredrik-w commented 10 years ago

I just saw that PR #59 was supposed to have fixed this issue, though it seems to have broken since.

mugifly commented 10 years ago

Hi, fredrik-w. Thanks for reported. I fixed it.