restorando / angular-pickadate

A simple and fluid inline datepicker for AngularJS with no extra dependencies.
MIT License
273 stars 91 forks source link

allowNextMonth should be true if maxDate == nextMonthInitialDate #22

Closed rockrep closed 10 years ago

rockrep commented 10 years ago

example, when current value is 2014-08-31 and max-date is 2014-09-01, allowNextMonth should be true.

gschammah commented 10 years ago

hi @rockrep

Thanks for the fix!! I also added a test for this.