fix upcoming event blocks (at least temporarily)

This commit is contained in:
2024-08-10 17:22:32 +02:00
parent 803628d594
commit 18fcb7c752
3 changed files with 8 additions and 14 deletions
+2 -2
View File
@@ -56,7 +56,7 @@ export const EventItem = ({
"occurrence" in event &&
event.occurrence?.start && (
<p className={styles.day}>
{formatDate(event.occurrence?.start, "eeee dd.MM.")}
{formatDate(event.occurrence?.start, "eeee dd.MM.")} {formatDate(event.occurrence?.start, "'kl.' HH:mm")}
</p>
)}
<h1 className={styles.title}>{event.title}</h1>
@@ -76,7 +76,7 @@ export const EventItem = ({
)}
</div>
)}
{(mode === "calendar" || mode === "singular-time-only") &&
{(mode === "calendar") &&
"occurrence" in event &&
event.occurrence?.start && (
<p className={styles.dates}>