special time formatting when event items are in a calendar

This commit is contained in:
2024-05-12 16:32:25 +02:00
parent 7dfb505af0
commit e251e678cd
2 changed files with 9 additions and 2 deletions

View File

@ -67,7 +67,7 @@ const EventCalendar = ({ events }: { events: EventFragment[] }) => {
</h3>
<ul>
{eventsByDate[yearMonth][week][day].map((event) => (
<EventItem key={event.id} event={event} />
<EventItem key={event.id} event={event} mode="calendar" />
))}
</ul>
</div>