@smartbit4all/ng-client 3.3.114 → 3.3.115

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.
@@ -10365,16 +10365,26 @@ class SmartGridComponent {
10365
10365
  }
10366
10366
  let properties = customTableHeader?.properties;
10367
10367
  if (!properties) {
10368
- if (descColumn.typeClass === 'java.time.OffsetDateTime') {
10368
+ if (descColumn.typeClass === 'java.time.OffsetDateTime' ||
10369
+ descColumn.typeClass === 'java.time.LocalDateTime') {
10370
+ let dateFormat = descColumn.typeFormat ?? 'yyyy.MM.dd H:mm';
10369
10371
  properties = {
10370
10372
  type: SmartTableHeaderPropertyType.DATETIME,
10371
- dateFormat: 'yyyy.MM.dd H:mm',
10373
+ dateFormat,
10372
10374
  };
10373
10375
  }
10374
- else if (descColumn.typeClass === 'java.time.OffsetDate') {
10376
+ else if (descColumn.typeClass === 'java.time.LocalDate') {
10377
+ let dateFormat = descColumn.typeFormat ?? 'yyyy.MM.dd';
10375
10378
  properties = {
10376
- type: SmartTableHeaderPropertyType.DATETIME,
10377
- dateFormat: 'yyyy.MM.dd',
10379
+ type: SmartTableHeaderPropertyType.DATE,
10380
+ dateFormat,
10381
+ };
10382
+ }
10383
+ else if (descColumn.typeClass === 'java.time.LocalTime') {
10384
+ let dateFormat = descColumn.typeFormat ?? 'H:mm';
10385
+ properties = {
10386
+ type: SmartTableHeaderPropertyType.TIME,
10387
+ dateFormat,
10378
10388
  };
10379
10389
  }
10380
10390
  }