diff --git a/clients/javascript/lib/helpers/datesConverters.ts b/clients/javascript/lib/helpers/datesConverters.ts index 3a68e1d8..be6ff053 100644 --- a/clients/javascript/lib/helpers/datesConverters.ts +++ b/clients/javascript/lib/helpers/datesConverters.ts @@ -13,6 +13,7 @@ export function convertEventDates(event: CalendarEventDTO): CalendarEventDTO { return { ...event, startTime: new Date(event.startTime), + endTime: new Date(event.endTime), exdates: event.exdates?.map(date => new Date(date)), } }