@churchillliving/se-ui-toolkit 6.53.172 → 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.
@@ -3723,14 +3723,23 @@
3723
3723
  });
3724
3724
  }
3725
3725
  // convert string time into the date
3726
- if (column.type === exports.EGridColumnType.DATE && column.timeOnly === true) {
3727
- _this.rowsData.forEach(function (row) {
3728
- if (row[column.field] &&
3729
- (row[column.field].toString().includes('PM') ||
3730
- row[column.field].toString().includes('AM'))) {
3731
- row[column.field] = setTimeInDate(row[column.field]);
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) {
@@ -6393,7 +6402,7 @@
6393
6402
  if (cardControl) {
6394
6403
  _this.loadDynamicComponents();
6395
6404
  }
6396
- }, 2000);
6405
+ }, 3000);
6397
6406
  };
6398
6407
  FormComponent.prototype.ngAfterViewInit = function () {
6399
6408
  var _this = this;