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 @@ -346,7 +346,7 @@ class DateRangePicker extends BaseComponent {
346
346
const date = this . _parseDate ( event . target . value )
347
347
348
348
// valid date or empty date
349
- if ( ( date instanceof Date && ! Number . isNaN ( date ) ) || ( date === null ) ) {
349
+ if ( ( date instanceof Date && ! isNaN ( date ) ) || ( date === null ) ) {
350
350
this . _startDate = date
351
351
this . _calendarDate = date
352
352
this . _calendar . update ( this . _getCalendarConfig ( ) )
@@ -388,7 +388,7 @@ class DateRangePicker extends BaseComponent {
388
388
const date = this . _parseDate ( event . target . value )
389
389
390
390
// valid date or empty date
391
- if ( ( date instanceof Date && ! Number . isNaN ( date ) ) || ( date === null ) ) {
391
+ if ( ( date instanceof Date && ! isNaN ( date ) ) || ( date === null ) ) {
392
392
this . _endDate = date
393
393
this . _calendarDate = date
394
394
this . _calendar . update ( this . _getCalendarConfig ( ) )
You can’t perform that action at this time.
0 commit comments