igniteui-angular 20.1.28 → 20.1.29
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.
|
@@ -97235,7 +97235,7 @@ class IgxDateRangePickerComponent extends PickerBaseDirective {
|
|
|
97235
97235
|
*/
|
|
97236
97236
|
get activeDate() {
|
|
97237
97237
|
const today = new Date(new Date().setHours(0, 0, 0, 0));
|
|
97238
|
-
const dateValue = DateTimeUtil.isValidDate(this._firstDefinedInRange) ? new Date(this._firstDefinedInRange.setHours(0, 0, 0, 0)) : null;
|
|
97238
|
+
const dateValue = DateTimeUtil.isValidDate(this._firstDefinedInRange) ? new Date(new Date(this._firstDefinedInRange.getTime()).setHours(0, 0, 0, 0)) : null;
|
|
97239
97239
|
return this._activeDate ?? dateValue ?? this._calendar?.activeDate ?? today;
|
|
97240
97240
|
}
|
|
97241
97241
|
set activeDate(value) {
|