Add more properties needed by react-big-calendar.

master
Tom Hacohen 7 years ago
parent 9c740a4c4d
commit 02bb9baea7

@ -25,6 +25,14 @@ export class EventType extends ICAL.Event implements PimType {
return this.endDate.toJSDate();
}
get allDay() {
return this.startDate.isDate;
}
get desc() {
return this.description;
}
toIcal() {
let comp = new ICAL.Component(['vcalendar', [], []]);
comp.updatePropertyWithValue('prodid', '-//iCal.js EteSync Web');

Loading…
Cancel
Save