Enhance ICS export to include tablo name in event description
This commit is contained in:
parent
394fc3fd22
commit
b5d4ecab27
1 changed files with 3 additions and 1 deletions
|
|
@ -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:${
|
||||
|
|
|
|||
Loading…
Reference in a new issue