@ssgc/alert-console 2.10.6 → 2.10.7

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.es.js CHANGED
@@ -7688,12 +7688,12 @@ function ic(t) {
7688
7688
  return "-";
7689
7689
  }
7690
7690
  }
7691
- function Jt(t, e = "UTC") {
7691
+ function Jt(t, e = "UTC", s = !1) {
7692
7692
  if (!t) return "-";
7693
- const s = F.fromISO(t, { zone: "utc" }).setZone(e);
7694
- if (!s.isValid) return "-";
7695
- const n = s.offsetNameShort, r = s.toFormat("ZZZZ"), i = n.startsWith("GMT") || n === r ? r : `${n}/${r}`;
7696
- return `${s.toFormat("MM/dd/yyyy, hh:mm:ss a")} (${i})`;
7693
+ const n = F.fromISO(t, { zone: "utc" }).setZone(e);
7694
+ if (!n.isValid) return "-";
7695
+ const r = n.offsetNameShort, i = n.toFormat("ZZZZ"), a = r.startsWith("GMT") || r === i ? i : `${r}/${i}`, o = s ? "MM/dd/yyyy, hh:mm:ss.SSS a" : "MM/dd/yyyy, hh:mm:ss a";
7696
+ return `${n.toFormat(o)} (${a})`;
7697
7697
  }
7698
7698
  const ac = {
7699
7699
  Critical: "#FF3B30",
@@ -9104,7 +9104,7 @@ const Tc = ({
9104
9104
  /* @__PURE__ */ f("div", { className: "text-[#6B7280] text-sm", children: [
9105
9105
  "Timestamp:",
9106
9106
  " ",
9107
- Jt(i.timeStamp, e?.ianaTimeZoneId)
9107
+ Jt(i.timeStamp, e?.ianaTimeZoneId, !0)
9108
9108
  ] }),
9109
9109
  i.timeElapsed && /* @__PURE__ */ f("div", { className: "text-[#6B7280] text-sm", children: [
9110
9110
  "Time Elapsed: ",