-
-
Notifications
You must be signed in to change notification settings - Fork 763
Closed
Description
Say toMonth is set to December 2015 and someone tried to call showMonth(new Date(2015,11)) in order to display December 2015.
allowMonth incorrectly returns false as toMonth and d are the same month. It should return true. I believe this should be a simple fix by changing Helpers.getMonthsDiff(toMonth, d) >= 0 to Helpers.getMonthsDiff(toMonth, d) > 0 (and doing the same for fromMonth).
Metadata
Metadata
Assignees
Labels
No labels