@wavemaker/app-ng-runtime 12.0.0-next.140488 → 12.0.0-next.140491
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/default/bundles/index.umd.js +3 -0
- app-ng-runtime/components/input/default/esm2022/textarea/textarea.component.mjs +4 -1
- app-ng-runtime/components/input/default/fesm2022/index.mjs +3 -0
- app-ng-runtime/components/input/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/textarea/textarea.component.d.ts +3 -2
- 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/components/input/file-upload/bundles/index.umd.js +12 -2
- app-ng-runtime/components/input/file-upload/esm2022/file-upload.component.mjs +15 -5
- app-ng-runtime/components/input/file-upload/fesm2022/index.mjs +13 -3
- app-ng-runtime/components/input/file-upload/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/file-upload/file-upload.component.d.ts +4 -2
- app-ng-runtime/components/navigation/menu/bundles/index.umd.js +1 -1
- app-ng-runtime/components/navigation/menu/esm2022/menu.component.mjs +2 -2
- app-ng-runtime/components/navigation/menu/fesm2022/index.mjs +1 -1
- app-ng-runtime/components/navigation/menu/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
|
@@ -2648,7 +2648,7 @@ const getFormattedDate = (datePipe, dateObj, format, timeZone, isTimeStampType,
|
|
|
2648
2648
|
if (format === 'UTC') {
|
|
2649
2649
|
return new Date(dateObj).toISOString();
|
|
2650
2650
|
}
|
|
2651
|
-
if (timeZone) {
|
|
2651
|
+
if (timeZone && timeZone !== moment.defaultZone?.name) {
|
|
2652
2652
|
const momentFormat = format.replaceAll('y', 'Y').replaceAll('d', 'D').replace('a', 'A');
|
|
2653
2653
|
if (isIntervalDateTime) { // dates which are of type time widget (value is hh:mm:ss) but returned as date string from time comp
|
|
2654
2654
|
return moment(dateObj).format(momentFormat);
|