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

Min date and max date not working #140

Closed ev243 closed 8 years ago

ev243 commented 9 years ago

On your demo site, the min and max date on the date range is not working.

So if I choose 24 Nov 2014 for the start, I can still choose dates from the past (i.e. 23 Nov 2014).

naga2raja commented 9 years ago

I am also facing the same problem. Can any of the members can fix?

royzrj commented 8 years ago

@ev243 @naga2raja is this still happening?

naga2raja commented 8 years ago

Hey @royzrj ,

Yes, the issue is still happening. Please see the demo site http://mugifly.github.io/jquery-simple-datetimepicker/jquery.simple-dtpicker.html under "Date Ranges".

royzrj commented 8 years ago

@naga2raja sorry, should've made myself clear Is the issue still happening using the code from master branch? As I can't reproduce this bug as of now, using the master branch code.

FYI: I just accessed the demo and, yes, it happens there, but only because it is not using the master branch code. There is a new "Date Ranges" section, which uses the setMinDate and setMaxDate functions, which I think are best suited for the job than calling appendDtpicker several times.

naga2raja commented 8 years ago

@royzrj I'm sorry, I didn't check it out with latest master branch.

Will check it and let you know.

royzrj commented 8 years ago

Fixed on master branch, as informed on #144