diff --git a/src/util/ics.ts b/src/util/ics.ts index 22f3980..c0c3494 100644 --- a/src/util/ics.ts +++ b/src/util/ics.ts @@ -27,7 +27,7 @@ export const transformAgendaTaskToICSEvent = (task: AgendaTaskWithStart, graphNa } let type: 'day-event' | 'multi-days-event' | 'time-event' = 'day-event' - if (allDay === false) { + if (allDay === false && estimatedTime !== undefined) { type = 'time-event' } else if (end) { type = 'multi-days-event'