i have kendo scheduler configured as follows:
In my computer I have currently timezone UTC+2. When I adding a new event and set start date to 17:10 (5:10 PM) it is send to server as 19:10 (7:10 PM). I think that scheduler should send to server 15:10 value (3:10 PM). Is it bug in scheduler or in my understanding?
@(Html.Kendo().Scheduler<
Dansinn.Models.Event
>()
.Name("scheduler")
.Height(600)
.Messages(messages =>
{
messages.Save(LocalizationResources.OK);
messages.Cancel(LocalizationResources.Cancel);
})
.Views(views =>
{
views.DayView();
views.WeekView(weekView => weekView.Selected(true));
views.MonthView();
views.AgendaView();
})
.Timezone("Etc/UTC")
.Editable(editable => editable.TemplateName("Event").Resize(false))
.DataSource(builder =>
{
builder.Events(events =>
{
events.Error("bs.kendo.scheduler.onError");
events.RequestEnd("bs.kendo.onRequestEnd");
});
builder.Create(operationBuilder => operationBuilder.Action<
ScheduleController
>(controller => controller.Create(null)));
builder.Update(operationBuilder => operationBuilder.Action<
ScheduleController
>(controller => controller.Update(null)));
builder.Destroy(operationBuilder => operationBuilder.Action<
ScheduleController
>(controller => controller.Remove(null)));
builder.Read(operationBuilder => operationBuilder.Action<
ScheduleController
>(controller => controller.Get(null)));
builder.Model(factory =>
{
factory.Id(model => model.Id);
factory.Field(model => model.Type);
factory.Field(model => model.Start);
factory.Field(model => model.End);
factory.Field(model => model.Title);
factory.Field(model => model.RecurrenceRule);
factory.Field(model => model.RecurrenceException);
factory.Field(model => model.Description);
factory.Field(model => model.IsAllDay);
});
}))