fix: create all-day calendar events with JSCalendar midnight start and full fetch verification
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user