@wernfried/daterangepicker 5.2.6 → 5.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -763,7 +763,7 @@ class DateRangePicker {
763
763
  */
764
764
  setStartDate(startDate, updateView = true) {
765
765
  if (!this.singleDatePicker)
766
- return setRange(startDate, this.#endDate, updateView);
766
+ return this.setRange(startDate, this.#endDate, updateView);
767
767
  const oldDate = this.#startDate;
768
768
  let newDate = this.parseDate(startDate);
769
769
  if (newDate.equals(oldDate))
@@ -800,7 +800,7 @@ class DateRangePicker {
800
800
  * drp.setEndDate(DateTime.now().startOf('hour'));
801
801
  */
802
802
  setEndDate(endDate, updateView = true) {
803
- return this.singleDatePicker ? null : setRange(this.#startDate, endDate, updateView);
803
+ return this.singleDatePicker ? null : this.setRange(this.#startDate, endDate, updateView);
804
804
  }
805
805
  /**
806
806
  * Sets the date range picker's currently selected start date to the provided date.<br>