forked from ryanmwangi/CalMerger
feat(prodid): introduce custom PRODID for merged calendars
This commit is contained in:
parent
d2b0234b4b
commit
73e46d7f99
|
@ -31,6 +31,7 @@ export function createCalendarComponent(name) {
|
||||||
const calendarComponent = new ICAL.Component(['vcalendar', [], []]);
|
const calendarComponent = new ICAL.Component(['vcalendar', [], []]);
|
||||||
calendarComponent.updatePropertyWithValue('name', name);
|
calendarComponent.updatePropertyWithValue('name', name);
|
||||||
calendarComponent.updatePropertyWithValue('version', '2.0');
|
calendarComponent.updatePropertyWithValue('version', '2.0');
|
||||||
|
calendarComponent.updatePropertyWithValue('prodid', '-//CalMerge//Calendar Merger 1.0//EN');
|
||||||
return calendarComponent;
|
return calendarComponent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue