Skip to content

Conversation

@lmborba
Copy link

@lmborba lmborba commented Jul 11, 2011

Previously, when I set minDate or maxDate of a datetimepicker by "options" method, the datepicker is affected, but the timepicker is not.

This is an important feature for time interval input.

Now the minDateTime, minDate, maxDateTime and maxDate properties of datetimepicker are set according to minDate and maxDate of datepicker in the _limitMinMaxDate method.

@trentrichardson
Copy link
Owner

Hey Imborba,
Could you apply this to the dev branch and re-issue the pull request? Thanks for your contributions!

@lmborba
Copy link
Author

lmborba commented Jul 15, 2011

Looking at the dev branch, I have found the solution for the previous problem.
I just had to set minDate and minDateTime.
The most elegant solution, for me, would be just to use the minDate attribute to set the time and date pickers. This is not a hard task to do and I can do if needed.
Thanks for the add-on.

@lmborba lmborba closed this Jul 15, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants