sprintify-ui 0.0.161 → 0.0.162
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/sprintify-ui.es.js
CHANGED
|
@@ -10166,7 +10166,7 @@ const Sm = { class: "base-date-picker relative" }, Em = { class: "pointer-events
|
|
|
10166
10166
|
return Kt.fromJSDate(n);
|
|
10167
10167
|
}
|
|
10168
10168
|
function u(n) {
|
|
10169
|
-
return n.includes("Z") && n.includes("T") ? Kt.fromISO(n) : Kt.fromSQL(n, { zone: "utc" });
|
|
10169
|
+
return n.includes("Z") && n.includes("T") ? Kt.fromISO(n, { zone: "utc" }) : Kt.fromSQL(n, { zone: "utc" });
|
|
10170
10170
|
}
|
|
10171
10171
|
function h(n) {
|
|
10172
10172
|
return e.enableTime ? n.toFormat("yyyy-MM-dd HH:mm:ss") : n.toFormat("yyyy-MM-dd");
|
package/package.json
CHANGED
|
@@ -115,7 +115,7 @@ function dateJsToLuxon(date: Date): DateTime {
|
|
|
115
115
|
|
|
116
116
|
function stringToLuxon(date: string): DateTime {
|
|
117
117
|
if (date.includes('Z') && date.includes('T')) {
|
|
118
|
-
return DateTime.fromISO(date);
|
|
118
|
+
return DateTime.fromISO(date, { zone: 'utc' });
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
return DateTime.fromSQL(date, { zone: 'utc' });
|