@contrail/data-grouping 1.0.47 → 1.0.48
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.
@@ -125,7 +125,7 @@ class DataGroupGenerator {
|
|
125
125
|
return !objVal;
|
126
126
|
}
|
127
127
|
if (propertyTypeOptions.isDate) {
|
128
|
-
const objDate = new Date(objVal).toISOString().split('T')[0];
|
128
|
+
const objDate = objVal ? new Date(objVal).toISOString().split('T')[0] : null;
|
129
129
|
const valDate = new Date(val).toISOString().split('T')[0];
|
130
130
|
return objDate === valDate;
|
131
131
|
}
|
package/package.json
CHANGED