@3sc/common-component 0.0.461 → 0.0.462

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
@@ -46395,20 +46395,23 @@ const Uw = ({
46395
46395
  width: "100%"
46396
46396
  },
46397
46397
  children: [
46398
- Object.entries(TV(f)).map(([O, b]) => /* @__PURE__ */ m.jsxs(ve.Fragment, { children: [
46399
- O !== d && /* @__PURE__ */ m.jsx(zW, { children: O }),
46400
- b.map((k, E) => /* @__PURE__ */ m.jsx(ve.Fragment, { children: /* @__PURE__ */ m.jsx(
46401
- zw,
46402
- {
46403
- item: k,
46404
- handleCTAClicked: w,
46405
- handleShowDetails: () => n(k.id, k.snopId),
46406
- handleRead: () => t([k.id], k.snopId),
46407
- clickId: r,
46408
- t: l
46409
- }
46410
- ) }, `${E}_${k.id}`))
46411
- ] }, O)),
46398
+ Object.entries(TV(f)).map(([O, b]) => {
46399
+ const k = localStorage.getItem("i18nextLng"), E = new Date(O), R = new Intl.DateTimeFormat(k, { month: "long" }).format(E), P = E.getDate(), I = E.getFullYear(), A = `${R} ${P}, ${I}`;
46400
+ return /* @__PURE__ */ m.jsxs(ve.Fragment, { children: [
46401
+ O !== d && /* @__PURE__ */ m.jsx(zW, { children: A }),
46402
+ b.map((M, j) => /* @__PURE__ */ m.jsx(ve.Fragment, { children: /* @__PURE__ */ m.jsx(
46403
+ zw,
46404
+ {
46405
+ item: M,
46406
+ handleCTAClicked: w,
46407
+ handleShowDetails: () => n(M.id, M.snopId),
46408
+ handleRead: () => t([M.id], M.snopId),
46409
+ clickId: r,
46410
+ t: l
46411
+ }
46412
+ ) }, `${j}_${M.id}`))
46413
+ ] }, O);
46414
+ }),
46412
46415
  h && i > 1 && !!(f != null && f.length) && /* @__PURE__ */ m.jsx(
46413
46416
  we,
46414
46417
  {