indicator-ui 0.0.124 → 0.0.125
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/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6948,7 +6948,7 @@ function saveFormatDate(date, { from, to, errorNull = false, locale, toTimeZone,
|
|
|
6948
6948
|
if (toTimeZone) {
|
|
6949
6949
|
parsedDate = (0,date_fns_tz__WEBPACK_IMPORTED_MODULE_0__.toZonedTime)(parsedDate, toTimeZone);
|
|
6950
6950
|
}
|
|
6951
|
-
return (0,date_fns_tz__WEBPACK_IMPORTED_MODULE_0__.format)(parsedDate, to, { locale: locale });
|
|
6951
|
+
return (0,date_fns_tz__WEBPACK_IMPORTED_MODULE_0__.format)(parsedDate, to, { locale: locale, timeZone: toTimeZone });
|
|
6952
6952
|
}
|
|
6953
6953
|
catch (e) {
|
|
6954
6954
|
console.warn(e);
|