@ssgc/alert-console 2.4.3 → 2.4.5
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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js +4 -2
- package/dist/index.es.js.map +1 -1
- package/package.json +4 -1
package/dist/index.es.js
CHANGED
|
@@ -8671,8 +8671,10 @@ function Pc(t) {
|
|
|
8671
8671
|
}
|
|
8672
8672
|
function gs(t, e = "UTC") {
|
|
8673
8673
|
if (!t) return "-";
|
|
8674
|
-
const s =
|
|
8675
|
-
|
|
8674
|
+
const s = $.fromISO(t, { zone: "utc" }).setZone(e);
|
|
8675
|
+
if (!s.isValid) return "-";
|
|
8676
|
+
const n = s.offsetNameShort, r = s.toFormat("ZZZZ"), i = n.startsWith("GMT") || n === r ? r : `${n}/${r}`;
|
|
8677
|
+
return `${s.toFormat("MM/dd/yyyy, hh:mm:ss a")} (${i})`;
|
|
8676
8678
|
}
|
|
8677
8679
|
const Uc = {
|
|
8678
8680
|
Critical: "#FF3B30",
|