@wavemaker/app-ng-runtime 11.8.2-next.27367 → 11.8.2-next.27370
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.
- app-ng-runtime/components/input/epoch/bundles/index.umd.js +3 -0
- app-ng-runtime/components/input/epoch/esm2022/date-time/date-time.component.mjs +4 -1
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs +3 -0
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/core/bundles/index.umd.js +1 -1
- app-ng-runtime/core/esm2022/utils/utils.mjs +2 -2
- app-ng-runtime/core/fesm2022/index.mjs +1 -1
- app-ng-runtime/core/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/package.json +1 -1
- app-ng-runtime/runtime/base/bundles/index.umd.js +1 -1
- app-ng-runtime/runtime/base/esm2022/services/i18n.service.mjs +2 -2
- app-ng-runtime/runtime/base/fesm2022/index.mjs +1 -1
- app-ng-runtime/runtime/base/fesm2022/index.mjs.map +1 -1
|
@@ -2662,7 +2662,7 @@
|
|
|
2662
2662
|
if (format === 'UTC') {
|
|
2663
2663
|
return new Date(dateObj).toISOString();
|
|
2664
2664
|
}
|
|
2665
|
-
if (timeZone) {
|
|
2665
|
+
if (timeZone && timeZone !== moment.defaultZone?.name) {
|
|
2666
2666
|
const momentFormat = format.replaceAll('y', 'Y').replaceAll('d', 'D').replace('a', 'A');
|
|
2667
2667
|
if (isIntervalDateTime) { // dates which are of type time widget (value is hh:mm:ss) but returned as date string from time comp
|
|
2668
2668
|
return moment(dateObj).format(momentFormat);
|