@acoustte-digital-services/digitalstore-controls-dev 0.8.1-dev.20260417073058 → 0.8.1-dev.20260417073151
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.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1888,7 +1888,7 @@ var DateTimeInput = (props) => {
|
|
|
1888
1888
|
const offsetMinutes = now.getTimezoneOffset();
|
|
1889
1889
|
const offsetMilliseconds = offsetMinutes * 60 * 1e3;
|
|
1890
1890
|
const valDate = value.toString().includes("Z") ? new Date(value) : /* @__PURE__ */ new Date(value + "Z");
|
|
1891
|
-
const localDate = new Date(valDate.getTime()
|
|
1891
|
+
const localDate = new Date(valDate.getTime() + offsetMilliseconds);
|
|
1892
1892
|
timeZoneAbbr = now.toLocaleTimeString("en", { timeZoneName: "short" }).split(" ")[2];
|
|
1893
1893
|
localvalue = localDate?.toISOString()?.slice(0, 16);
|
|
1894
1894
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -900,7 +900,7 @@ var DateTimeInput = (props) => {
|
|
|
900
900
|
const offsetMinutes = now.getTimezoneOffset();
|
|
901
901
|
const offsetMilliseconds = offsetMinutes * 60 * 1e3;
|
|
902
902
|
const valDate = value.toString().includes("Z") ? new Date(value) : /* @__PURE__ */ new Date(value + "Z");
|
|
903
|
-
const localDate = new Date(valDate.getTime()
|
|
903
|
+
const localDate = new Date(valDate.getTime() + offsetMilliseconds);
|
|
904
904
|
timeZoneAbbr = now.toLocaleTimeString("en", { timeZoneName: "short" }).split(" ")[2];
|
|
905
905
|
localvalue = localDate?.toISOString()?.slice(0, 16);
|
|
906
906
|
}
|
package/package.json
CHANGED