Hello, it seems there is a timezone bug in the EJS().Schedule control. Or I am doing something wrong.
My view looks like this:
@(Html.EJS()
.Schedule("schedule")
.EventSettings(es => es.DataSource(dataManger =>
{
dataManger.Url("/api/districts/" + Model.DistrictId + "/calendar")
.Adaptor("WebApiAdaptor");
}))
.Render()
)
I am in the US Central Timezone, when I create an appointment at 9AM, I see the POST request to my api with the following data:
{
"Id": 13,
"Subject": "Fri 9AM",
"StartTime": "2018-06-09T14:00:00.000Z",
"EndTime": "2018-06-09T14:30:00.000Z",
"IsAllDay": false
}
As you can see, the times get converted to UTC (which seems correct), however the appointment itself shows up at 12PM instead which I can't make any sense of.
I have tried all combinations of setting .TimeZone() Start/End TimeZone to not avail.
FYI: I'm doing all this work for a client who purchased a license to this product and asked me to use it against my recommendation. So far, the lack of answers to my inquiries, bugs and lack of updated documentation are making my case towards dropping syncfusion off our project.