sprintify-ui 0.6.11 → 0.6.12
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
|
@@ -26993,7 +26993,7 @@ const IM = {
|
|
|
26993
26993
|
return on.fromJSDate(y);
|
|
26994
26994
|
}
|
|
26995
26995
|
function s(y) {
|
|
26996
|
-
return y.includes("
|
|
26996
|
+
return y.includes("T") ? on.fromISO(y, { zone: "utc" }) : on.fromSQL(y, { zone: "utc" });
|
|
26997
26997
|
}
|
|
26998
26998
|
function c(y) {
|
|
26999
26999
|
return e.enableTime ? y.toFormat("yyyy-MM-dd HH:mm:ss") : y.toFormat("yyyy-MM-dd");
|
package/package.json
CHANGED
|
@@ -130,7 +130,7 @@ function dateJsToLuxon(date: Date): DateTime {
|
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
function stringToLuxon(date: string): DateTime {
|
|
133
|
-
if (date.includes('
|
|
133
|
+
if (date.includes('T')) {
|
|
134
134
|
return DateTime.fromISO(date, { zone: 'utc' });
|
|
135
135
|
}
|
|
136
136
|
|