fix: create all-day calendar events with JSCalendar midnight start and full fetch verification

This commit is contained in:
Linus Rath
2026-03-27 18:51:34 +01:00
parent b868ad591d
commit f084b484b7
5 changed files with 180 additions and 13 deletions
+1 -1
View File
@@ -262,7 +262,7 @@ export function EventModal({
if (trimmedTitle.length > 500 || description.trim().length > 10000 || location.trim().length > 500) return;
const startStr = allDay
? startDate
? `${startDate}T00:00:00`
: `${startDate}T${startTime}:00`;
const start = allDay ? parseISO(startStr) : new Date(startStr);