File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -138,10 +138,10 @@ export default class BlCalendar extends DatepickerCalendarMixin {
138
138
if ( this . type !== CALENDAR_TYPES . RANGE ) {
139
139
const isDateBiggerThanCalendar =
140
140
( date . getMonth ( ) < this . _calendarMonth && date . getFullYear ( ) > this . _calendarYear ) ||
141
- ( date . getMonth ( ) >= this . _calendarMonth && date . getFullYear ( ) > = this . _calendarYear ) ;
141
+ ( date . getMonth ( ) > this . _calendarMonth && date . getFullYear ( ) = = this . _calendarYear ) ;
142
142
143
143
const isDateSmallerThanCalendar =
144
- ( date . getMonth ( ) <= this . _calendarMonth && date . getFullYear ( ) < = this . _calendarYear ) ||
144
+ ( date . getMonth ( ) < this . _calendarMonth && date . getFullYear ( ) = = this . _calendarYear ) ||
145
145
( date . getMonth ( ) > this . _calendarMonth && date . getFullYear ( ) < this . _calendarYear ) ;
146
146
147
147
if ( isDateSmallerThanCalendar ) {
You can’t perform that action at this time.
0 commit comments