Skip to content

Commit 284caef

Browse files
committed
fix: Indentation of comments
Signed-off-by: Akshat Patel <[email protected]>
1 parent 7344a9d commit 284caef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/datepicker/datepicker.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)