diff --git a/calendar/providers/gdata/components/calGoogleRequest.js b/calendar/providers/gdata/components/calGoogleRequest.js index e9b7e13225..50fb34d25f 100644 --- a/calendar/providers/gdata/components/calGoogleRequest.js +++ b/calendar/providers/gdata/components/calGoogleRequest.js @@ -50,10 +50,8 @@ function calGoogleRequest(aSession) { calGoogleRequest.prototype = { /* Members */ - uri: null, mUploadContent: null, mUploadData: null, - responseListener: null, mSession: null, mExtraData: null, mQueryParameters: null, diff --git a/calendar/providers/gdata/components/calGoogleUtils.js b/calendar/providers/gdata/components/calGoogleUtils.js index 4e04d52595..d512375829 100644 --- a/calendar/providers/gdata/components/calGoogleUtils.js +++ b/calendar/providers/gdata/components/calGoogleUtils.js @@ -362,8 +362,11 @@ function ItemToXMLEntry(aItem, aAuthorEmail, aAuthorName) { // gd:when var duration = aItem.endDate.subtractDate(aItem.startDate); - entry.gd::when.@startTime = cal.toRFC3339(aItem.startDate); - entry.gd::when.@endTime = cal.toRFC3339(aItem.endDate); + if (!aItem.recurrenceInfo) { + // gd:when isn't allowed for recurring items where gd:recurrence is set + entry.gd::when.@startTime = cal.toRFC3339(aItem.startDate); + entry.gd::when.@endTime = cal.toRFC3339(aItem.endDate); + } // gd:reminder let alarms = aItem.getAlarms({});