I have an example of a calendar event whose dates do not appear to work correctly.
When I load this item from my web API, it returns the following start and end times:
"startTime": "2022-09-11T00:00:00",
"endTime": "2022-09-17T00:00:00",
However, when it binds to the scheduler, it shows up as Starting on Sep 10. I assume this is because my local timezone is GMT-0400, which, when applied to the startTime of 2022-09-11T00:00:00 would be 2022-09-10T20:00:00-0400, correct? Is this why the event appears on Sep 10 instead?
Next, I will try to drag and drop the item to September 11.
Here is a screenshot of where I drag/drop the item to in the scheduler. Notice I am dropping it on September 11 and its end date appears to be "the end of September 17" (or Sep 18 at midnight, I guess).
However, the start and end times sent to the server are:
"startDate": "2022-09-12T00:00:00.000Z",
"endDate": "2022-09-18T00:00:00.000Z",
Why is the calendar sending Sep 12 (UTC) to Sep 18 (UTC) to the server?