@vgip/meta-ui 1.3.2 → 1.3.4

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.
@@ -344,14 +344,11 @@ const fieldNormalizer = (field, uniqFieldNames) => {
344
344
  }
345
345
  else if (fieldType === 'list') {
346
346
  const list = field.list || field.reference;
347
- if (!list.name && list.type === 'composite') {
348
- list.name = field.name;
349
- }
350
347
  f = {
351
348
  type: field.name ? 'list' : 'missing name',
352
349
  label: field.label,
353
350
  name: field.name,
354
- list: fieldNormalizer(uniqueNameFilter(list, uniqFieldNames), uniqFieldNames)
351
+ list: fieldNormalizer(uniqueNameFilter(list, uniqFieldNames, !list.name), uniqFieldNames)
355
352
  };
356
353
  }
357
354
  else {
@@ -4505,7 +4502,8 @@ class MetaResource {
4505
4502
  };
4506
4503
  }
4507
4504
  this.model._vgis.layoutId = this.currentLayoutId;
4508
- this.model._vgis.timeZoneOffsetInMinutes = new Date().getTimezoneOffset();
4505
+ // eslint-disable-next-line max-len
4506
+ this.model._vgis.timeZoneOffsetInMinutes = 0; // we are not providing timezone anymore (as V3), instead the 'time' and 'date' objects are converted so the UTC time/date is correct
4509
4507
  this.model._vgis.eventId = this.metaContext.vgipEventId;
4510
4508
  /* eslint-enable no-underscore-dangle */
4511
4509
  }