@churchillliving/se-ui-toolkit 6.53.173 → 6.53.174
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.
- package/bundles/churchillliving-se-ui-toolkit.umd.js +17 -8
- package/bundles/churchillliving-se-ui-toolkit.umd.js.map +1 -1
- package/esm2015/lib/components/base/grid/grid.component.js +18 -9
- package/fesm2015/churchillliving-se-ui-toolkit.js +17 -8
- package/fesm2015/churchillliving-se-ui-toolkit.js.map +1 -1
- package/package.json +1 -1
|
@@ -3723,14 +3723,23 @@
|
|
|
3723
3723
|
});
|
|
3724
3724
|
}
|
|
3725
3725
|
// convert string time into the date
|
|
3726
|
-
if (column.type === exports.EGridColumnType.DATE
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
(row[column.field]
|
|
3730
|
-
row[column.field].toString().includes('
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
|
|
3726
|
+
if (column.type === exports.EGridColumnType.DATE) {
|
|
3727
|
+
if (column.timeOnly === true) {
|
|
3728
|
+
_this.rowsData.forEach(function (row) {
|
|
3729
|
+
if (row[column.field] &&
|
|
3730
|
+
(row[column.field].toString().includes('PM') ||
|
|
3731
|
+
row[column.field].toString().includes('AM'))) {
|
|
3732
|
+
row[column.field] = setTimeInDate(row[column.field]);
|
|
3733
|
+
}
|
|
3734
|
+
});
|
|
3735
|
+
}
|
|
3736
|
+
else if (!column.minutesInterval) {
|
|
3737
|
+
_this.rowsData.forEach(function (row) {
|
|
3738
|
+
if (row[column.field]) {
|
|
3739
|
+
row[column.field] = new Date(row[column.field]);
|
|
3740
|
+
}
|
|
3741
|
+
});
|
|
3742
|
+
}
|
|
3734
3743
|
}
|
|
3735
3744
|
// set filter value
|
|
3736
3745
|
if (column.filter && column.value && column.filtering !== false) {
|