fix: Kalender - Termine immer als Balken statt Punkt+Zeit

eventDisplay: 'block' zwingt FullCalendar dazu, auch zeitlich
terminierte Termine in der Monatsansicht als farbige Balken
anzuzeigen statt als Punkt mit Uhrzeit-Label. Damit sieht ein
per "Neuer Termin"-Button angelegter Termin genauso aus wie einer,
der per Klick auf den Tag erstellt wurde.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Stefan Hacker 2026-04-12 12:44:28 +02:00
parent c1b05e2525
commit cbb2786130
1 changed files with 4 additions and 0 deletions

View File

@ -319,6 +319,10 @@ const calendarOptions = computed(() => ({
eventResize: onEventDrop,
displayEventEnd: true,
eventTimeFormat: { hour: '2-digit', minute: '2-digit', hour12: false },
// Force bar/block display even for timed events so the month view
// doesn't switch between dot+time and full bar depending on how
// the event was created.
eventDisplay: 'block',
}))
function formatEventTime(ev) {