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
|
VERSION:2.0
|
||||||
CALSCALE:GREGORIAN
|
CALSCALE:GREGORIAN
|
||||||
METHOD:PUBLISH
|
METHOD:PUBLISH
|
||||||
BEGIN:VEVENT
|
|
||||||
`;
|
`;
|
||||||
mergedCal.forEach((event) => {
|
mergedCal.forEach((event) => {
|
||||||
icalString += `DTSTART:${event.start}
|
icalString += `BEGIN:VEVENT
|
||||||
|
DTSTART:${event.start}
|
||||||
DTEND:${event.end}
|
DTEND:${event.end}
|
||||||
SUMMARY:${event.summary}
|
SUMMARY:${event.summary}
|
||||||
END:VEVENT
|
END:VEVENT
|
||||||
|
|
Loading…
Reference in New Issue