layouts/admin/list.html aktualisiert
All checks were successful
schuelerzeitung-prod / prod-build (push) Successful in 4s
schuelerzeitung-prod / test-build (push) Successful in 1s

This commit is contained in:
Denys Konovalov 2024-01-12 21:39:24 +01:00
parent 4f211af5cf
commit 1939399d5c

@ -145,7 +145,7 @@
), ),
h("footer", { className: "article-time" }, h("footer", { className: "article-time" },
h("div", {}, h("div", {},
h("time", { className: "article-time--published" }, (entry.data.date != "" ? new Intl.DateTimeFormat("de-DE", {dateStyle: "long"}).format(new Date(entry.data.date)) : "")) h("time", { className: "article-time--published" }, ((entry.data.date != null && entry.data.date != "") ? new Intl.DateTimeFormat("de-DE", {dateStyle: "long"}).format(new Date(entry.data.date)) : ""))
) )
) )
) )