Enhance ICS export to include tablo name in event description

This commit is contained in:
Arthur Belleville 2025-07-27 14:34:29 +02:00
parent 394fc3fd22
commit b5d4ecab27
No known key found for this signature in database

View file

@ -132,7 +132,9 @@ export const generateICSFromEvents = (
`DTSTART:${startDateTime}`,
`DTEND:${endDateTime}`,
`SUMMARY:${escapeICSText(event.title)}`,
`DESCRIPTION:${escapeICSText(event.description || "")}`,
`DESCRIPTION:${escapeICSText(
`Tablo: ${event.tablo_name}\n${event.description || ""}`
)}`,
event.tablo_name ? `CATEGORIES:${escapeICSText(event.tablo_name)}` : "",
`CREATED:${new Date().toISOString().replace(/[-:]/g, "").split(".")[0]}Z`,
`LAST-MODIFIED:${