[#4] added attendance management

This commit is contained in:
Camille Moussu
2025-07-30 16:26:08 +02:00
parent a6c6f944a6
commit b3d85eb15c
3 changed files with 48 additions and 8 deletions
+2 -2
View File
@@ -98,7 +98,7 @@ export function calendarEventToJCal(event: CalendarEvent): any[] {
"dtstart",
{ tzid },
event.allday ? "date" : "date-time",
formatDateToICal(event.start, event.allday ?? false),
formatDateToICal(new Date(event.start), event.allday ?? false),
],
["class", {}, "text", event.class ?? "PUBLIC"],
[
@@ -117,7 +117,7 @@ export function calendarEventToJCal(event: CalendarEvent): any[] {
"dtend",
{ tzid },
event.allday ? "date" : "date-time",
formatDateToICal(event.end, event.allday ?? false),
formatDateToICal(new Date(event.end), event.allday ?? false),
]);
}
if (event.organizer) {