Fix version number when saving events/todos.

master
Tom Hacohen 6 years ago
parent d1293b08c3
commit dfd6914cd9

@ -51,7 +51,7 @@ export class EventType extends ICAL.Event implements PimType {
public toIcal() { public toIcal() {
const comp = new ICAL.Component(['vcalendar', [], []]); const comp = new ICAL.Component(['vcalendar', [], []]);
comp.updatePropertyWithValue('prodid', '-//iCal.js EteSync Web'); comp.updatePropertyWithValue('prodid', '-//iCal.js EteSync Web');
comp.updatePropertyWithValue('version', '4.0'); comp.updatePropertyWithValue('version', '2.0');
comp.addSubcomponent(this.component); comp.addSubcomponent(this.component);
if (this.timezoneComp) { if (this.timezoneComp) {

Loading…
Cancel
Save