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 @@ -625,7 +625,7 @@ export class DatePicker implements
625625 if ( typeof this . flatpickrInstance . selectedDates [ 0 ] === "string" ) {
626626 singleDate = this . flatpickrInstance . parseDate ( this . flatpickrInstance . selectedDates [ 0 ] , this . dateFormat ) ;
627627 singleDate = this . flatpickrInstance . formatDate ( singleDate , this . dateFormat ) ;
628- // if date is not a string we can assume it's a Date and we should format
628+ // if date is not a string we can assume it's a Date and we should format
629629 } else if ( ! ! this . flatpickrInstance . selectedDates [ 0 ] ) {
630630 singleDate = this . flatpickrInstance . formatDate ( this . flatpickrInstance . selectedDates [ 0 ] , this . dateFormat ) ;
631631 }
@@ -637,7 +637,7 @@ export class DatePicker implements
637637 if ( typeof this . flatpickrInstance . selectedDates [ 1 ] === "string" ) {
638638 rangeDate = this . flatpickrInstance . parseDate ( this . flatpickrInstance . selectedDates [ 1 ] . toString ( ) , this . dateFormat ) ;
639639 rangeDate = this . flatpickrInstance . formatDate ( rangeDate , this . dateFormat ) ;
640- // if date is not a string we can assume it's a Date and we should format
640+ // if date is not a string we can assume it's a Date and we should format
641641 } else if ( ! ! this . flatpickrInstance . selectedDates [ 1 ] ) {
642642 rangeDate = this . flatpickrInstance . formatDate ( this . flatpickrInstance . selectedDates [ 1 ] , this . dateFormat ) ;
643643 }
You can’t perform that action at this time.
0 commit comments