@dreamcommerce/aurora 2.10.8-8 → 2.10.8-9
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.
|
@@ -100,9 +100,9 @@ const useRangeValueController = ({ defaultRange, defaultDate, maxDate, minDate,
|
|
|
100
100
|
const endDate = new Date(value[1]);
|
|
101
101
|
console.log('---------------------------------------------');
|
|
102
102
|
console.log('start date from array', startDate);
|
|
103
|
-
console.log('start date type',
|
|
103
|
+
console.log('start date type', startDate instanceof Date);
|
|
104
104
|
console.log('end date from array', endDate);
|
|
105
|
-
console.log('end date type',
|
|
105
|
+
console.log('end date type', endDate instanceof Date);
|
|
106
106
|
console.log('---------------------------------------------');
|
|
107
107
|
}
|
|
108
108
|
const { startDate, endDate } = value || {};
|
|
@@ -96,9 +96,9 @@ const useRangeValueController = ({ defaultRange, defaultDate, maxDate, minDate,
|
|
|
96
96
|
const endDate = new Date(value[1]);
|
|
97
97
|
console.log('---------------------------------------------');
|
|
98
98
|
console.log('start date from array', startDate);
|
|
99
|
-
console.log('start date type',
|
|
99
|
+
console.log('start date type', startDate instanceof Date);
|
|
100
100
|
console.log('end date from array', endDate);
|
|
101
|
-
console.log('end date type',
|
|
101
|
+
console.log('end date type', endDate instanceof Date);
|
|
102
102
|
console.log('---------------------------------------------');
|
|
103
103
|
}
|
|
104
104
|
const { startDate, endDate } = value || {};
|