Hi,
I'm using the latest .NET Core packages and i'm facing an issue with the appointment time zone in Firefox / IE. I'm saving the Timezone along with the datetime. In DB, the control saves the appointment date in UTC timezone and the start and end tImezone field has the value UTC +5.30.
When the appointments are retrieved, it displays the correct time in Chrome but in IE/Firefox it displays the UTC time and hence the appointments are marked in different dates.
@{ Html.EJ().Schedule("Calendar")
.Locale("en-IN")
.Width("100%")
.Height("600px")
.TimeZone("UTC +5:30")
.CurrentView(CurrentView.Month)
.TimeMode(TimeMode.Hour12)
.ShowQuickWindow(false)
.TooltipSettings(pre => pre.Enable(true))
.CategorizeSettings(fields => fields.Datasource((IEnumerable)ViewBag.Categorize).Enable(true).Id("Id").Text("Text").Color("Color").FontColor("FontColor"))
.AppointmentSettings(fields => fields.Datasource(ds => ds.URL(Url.Action("GetAppointments", "Schedule")).CrudURL(Url.Action("Batch", "Schedule")).Adaptor("UrlAdaptor"))
.Id("Id")
.Subject(sub => sub.Field("Subject").ValidationRules(v => v.AddRule("required", true)))
.StartTime("StartTime")
.EndTime("EndTime")
.StartTimeZone("StartTimeZone")
.EndTimeZone("EndTimeZone")
.Description("Comments")
.AllDay("IsAllDay")
.Recurrence("IsRecurrence")
.RecurrenceRule("RecurrenceRule")
.Categorize(cat => cat.Field("Category").ValidationRules(v => v.AddRule("required", true))))
.Render();
Kindly help me.
Thanks.