Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

day.isFuture property not populated #12

Open
AndrewIsh opened this issue Feb 8, 2016 · 0 comments
Open

day.isFuture property not populated #12

AndrewIsh opened this issue Feb 8, 2016 · 0 comments

Comments

@AndrewIsh
Copy link

The population of the isFuture property of day is not performed when the month's model is done. It is calculated:
https://github.com/RemiAWE/ng-flat-datepicker/blob/master/src/js/datepicker.directive.js#L172
but doesn't form part of the day object:
https://github.com/RemiAWE/ng-flat-datepicker/blob/master/src/js/datepicker.directive.js#L175-L181

This is problematic because its presence is tested for when selecting a day:
https://github.com/RemiAWE/ng-flat-datepicker/blob/master/src/js/datepicker.directive.js#L124

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

No branches or pull requests

1 participant