1
0
Fork 0

add BEGIN:VEVENT and END:VEVENT for each event in merged calendar

This commit is contained in:
Ryan Mwangi 2024-10-03 15:05:12 +03:00
parent 59456208a4
commit 661e614310
1 changed files with 2 additions and 2 deletions

View File

@ -137,10 +137,10 @@ async function updateMergedCalendar(){
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
BEGIN:VEVENT
`;
mergedCal.forEach((event) => {
icalString += `DTSTART:${event.start}
icalString += `BEGIN:VEVENT
DTSTART:${event.start}
DTEND:${event.end}
SUMMARY:${event.summary}
END:VEVENT