Skip to content
This repository was archived by the owner on Dec 1, 2023. It is now read-only.

Conversation

@andrezsanchez
Copy link
Contributor

Updates the datepicker when startDate and endDate are changed. This allows the use of Angular expressions to define these attributes.

@andrezsanchez
Copy link
Contributor Author

I don't understand why the Travis build failed.

Expected Date(Sun Dec 26 1999 00:00:00 GMT+0000 (UTC)) to be Date(Sun Dec 26 1999 00:00:00 GMT+0000 (UTC)).

@mgcrea
Copy link
Owner

mgcrea commented Jul 3, 2013

Thanks a lot, I'll check travis.

mgcrea added a commit that referenced this pull request Jul 3, 2013
feat(datepicker): update startDate and endDate (cf. #143)
@mgcrea mgcrea merged commit 4891fa1 into mgcrea:master Jul 3, 2013
@Joebob12
Copy link

So does startDate work? Defining it in my controller doesn't seem to work.
Code bit: $scope.datepickerTo = {startDate: '07/04/2013', date: today};
plnkr http://plnkr.co/edit/O2PoSPJcYWHbsMRNpw6B?p=preview

@a2thek26
Copy link

a2thek26 commented Aug 6, 2013

So how does this work? I have a scenario where I have a parent date and a bunch of "child" date pickers. I will need to update the child pickers to be limited by the parent's date and the parent picker will need to be governed by the highest child date. I've tried setting this on the children pickers data-date-end-date="parent.target_date" but i just get a picker without the ability to select anything.

@andrezsanchez
Copy link
Contributor Author

Make a Stack Overflow post and I'll answer it when I get a chance.

@a2thek26
Copy link

a2thek26 commented Aug 7, 2013

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants