Merge branch 'master' of ssh://git.cantorgymnasium.de:222/gcg/gcg-website

This commit is contained in:
2023-02-26 21:34:38 +01:00
13 changed files with 203 additions and 36 deletions

View File

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