diff --git a/src/mixin/Comparison.js b/src/mixin/Comparison.js index 5c134fb..6a11a4c 100644 --- a/src/mixin/Comparison.js +++ b/src/mixin/Comparison.js @@ -100,7 +100,7 @@ const Comparison = { }, isLeapYear () { - return this._currentCalendar.isLeap(this._currentCalendar.getYear()); + return this._currentCalendar.isLeap(this.getYear()); }, isSameDay (other) { @@ -108,4 +108,4 @@ const Comparison = { } }; -export default Comparison; \ No newline at end of file +export default Comparison;