This commit is contained in:
G30 2026-10-28 20:22:12 +01:00 • committed by GitHub
commit 17a1753366
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -36,7 +36,7 @@
const map: Record<string, CalendarEventModel[]> = {};
for (const e of filteredEvents) {
const startMs = e.start_at / NS;
const endMs = (e.end_at || e.start_at) / NS;
const endMs = Math.max(startMs, (e.end_at || e.start_at) / NS - 1);
// Get local midnight for event start/end
const startDate = new Date(startMs);
const endDate = new Date(endMs);