This commit is contained in:
Denys Konovalov 2023-02-23 16:26:56 +01:00
parent 83e18b743a
commit 84cdcf0472

@ -622,8 +622,8 @@
entry.data.author entry.data.author
), ),
h('li', { className: "list-inline-item mr-4 mb-3 mb-md-0 text-light" }, h('li', { className: "list-inline-item mr-4 mb-3 mb-md-0 text-light" },
h('span', { className: "font-weight-bold mr-2"}, "Datum:"), h('span', { className: "font-weight-bold mr-2"}, "Datum:"), entry.data.date ?
Intl.DateTimeFormat('de-De', { day: 'numeric', month: 'short', year: 'numeric'}).format(new Date(entry.data.date)) Intl.DateTimeFormat('de-De', { day: 'numeric', month: 'short', year: 'numeric'}).format(new Date(entry.data.date)) : ""
), ),
h('li', { className: "list-inline-item mr-4 mb-3 mb-md-0 text-light" }, h('li', { className: "list-inline-item mr-4 mb-3 mb-md-0 text-light" },
h('span', { className: "font-weight-bold mr-2"}, "Kategorie:"), h('span', { className: "font-weight-bold mr-2"}, "Kategorie:"),