@colijnit/corecomponents_v12 260.1.12 → 260.1.13
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/colijnit-corecomponents_v12.umd.js +2 -1
- package/bundles/colijnit-corecomponents_v12.umd.js.map +1 -1
- package/esm2015/lib/components/hour-scheduling-expandable/hour-scheduling-expandable.component.js +3 -2
- package/fesm2015/colijnit-corecomponents_v12.js +2 -1
- package/fesm2015/colijnit-corecomponents_v12.js.map +1 -1
- package/package.json +1 -1
|
@@ -15553,7 +15553,8 @@
|
|
|
15553
15553
|
return split.join(':');
|
|
15554
15554
|
};
|
|
15555
15555
|
HourSchedulingExpandableComponent.prototype.convertTZ = function (date, tzString) {
|
|
15556
|
-
|
|
15556
|
+
var _a;
|
|
15557
|
+
return new Date((_a = (typeof date === "string" ? new Date(date) : date)) === null || _a === void 0 ? void 0 : _a.toLocaleString("en-US", { timeZone: tzString }));
|
|
15557
15558
|
};
|
|
15558
15559
|
HourSchedulingExpandableComponent.prototype.convertDateToEuropean = function (date) {
|
|
15559
15560
|
return this.convertTZ(date, 'Europe/Amsterdam');
|