When creating an all day event by POSTing a new item:

    "odata.type": "<odata-type>",
    "FileSystemObjectType": 0,
    "Title": "alldayevent",
    "EventDate": "2019-02-25T00:00:00Z",
    "EndDate": "2019-02-25T23:59:00Z",
    "fAllDayEvent": true

the created item's EndDate is not the time that I specified, but is instead shifted one day later:

    "EventDate": "2019-02-25T00:00:00Z",
    "EndDate": "2019-02-26T23:59:00Z",
    "fAllDayEvent": true,
  1. Is this expected behavior or a bug?
  2. How do I create an event with a correct EndDate?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.