We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Schedule Timezone works only in Chrome


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")
                    .TimeZone("UTC +5:30")
                    .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"))
                        .Subject(sub => sub.Field("Subject").ValidationRules(v => v.AddRule("required", true)))
                        .Categorize(cat => cat.Field("Category").ValidationRules(v => v.AddRule("required", true))))

Kindly help me.


2 Replies

AJ Ajay October 8, 2016 01:51 PM UTC

I've fixed this issue by specifying the Datetime Kind as UTC when retrieving from database.

SE Sellakumar Syncfusion Team October 10, 2016 01:13 PM UTC

Hi Ajay, 

Thanks for contacting Syncfusion support. 

We are glad to know that your issue got resolved by yourself. 

Please revert us, if you need any further assistance on this. 

Sellakumar K

Live Chat Icon For mobile
Up arrow icon