add BEGIN:VEVENT and END:VEVENT for each event in merged calendar
This commit is contained in:
parent
59456208a4
commit
661e614310
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue