office365 - Recurrence.Range.StartDate / EndDate contain timezone offset -


recurrence rule dates contain timezone offset calendar event "start" / "end" fields in utc seems incorrect behavior (bug?). did knows why "recurrence.range" "startdate" / "enddate" fields contains dates not utc? expected behavior receive utc dates date fields in calendar event object.

{      "@odata.id": "https://outlook.office365.com/api/v1.0/users('exampleuser')",      "@odata.etag": "etag",      "id": "exampleid",      "changekey": "gnglo5jwuugyx+qps/qc5aaabbyspq==",      "categories": [],      "datetimecreated": "2015-05-14t13:52:41.9129608z",      "datetimelastmodified": "2015-05-14t13:52:41.9285866z",      "subject": "every monday",      "bodypreview": "adsasdsa",      "body": {          "contenttype": "html",          "content": "adsasdsa"      },      "importance": "normal",      "hasattachments": false,      //notice format of date - correctly comes in utc:      "start": "2015-05-11t00:00:00z",      "starttimezone": "utc",      //notice format of date - correctly comes in utc:      "end": "2015-05-12t00:00:00z",      "endtimezone": "utc",      "reminder": null,      "location": {          "displayname": "",          "address": {              "street": "",              "city": "",              "state": "",              "countryorregion": "",              "postalcode": ""          },          "coordinates": {              "accuracy": "nan",              "altitude": "nan",              "altitudeaccuracy": "nan",              "latitude": "nan",              "longitude": "nan"          }      },      "responsestatus": {          "response": "organizer",          "time": "0001-01-01t00:00:00z"      },      "showas": "free",      "isallday": true,      "iscancelled": false,      "isorganizer": true,      "responserequested": true,      "type": "seriesmaster",      "seriesmasterid": null,      "attendees": [],      "recurrence": {          "pattern": {              "type": "weekly",              "interval": 1,              "month": 0,              "index": "first",              "firstdayofweek": "sunday",              "dayofmonth": 0,              "daysofweek": ["monday"]          },          "range": {              "type": "noend",              //notice format of date - it's not utc:              "startdate": "2015-05-11t00:00:00+03:00",              "enddate": "0001-01-01t00:00:00z",              "numberofoccurrences": 0          }      },      "organizer": {          "emailaddress": {              "address": "vladimir@kendouischeduler.tk",              "name": "vladimir iliev"          }      },      "icaluid": "exampleicaluid",      "weblink": "exampleweblink"  }

i'm working on integration between office365 calendar events , third-party client-side scheduler widgets (which supports ical recurrence rule) , doesn't know how interpret correctly above dates in recurrence "range" object.

this appears bug in api. have work item investigate , fix it, don't have timeframes share.


Comments

Popular posts from this blog

Email notification in google apps script -

c++ - Difference between pre and post decrement in recursive function argument -

javascript - IE11 incompatibility with jQuery's 'readonly'? -