Hi Chris,
Syncfusion greetings.
When a time zone is set to Scheduler, the events will be
displayed exactly based on the Scheduler timezone regardless of its client
timezone. Kindly remove the timezone property and check once.
Regards,
Karthi
public void ConfigureServices(IServiceCollection services)
{
services.AddDbContext<ScheduleDataContext>(options =>
options.UseSqlServer(Configuration.GetConnectionString("ScheduleDataConnection")));
services.AddMvc();
services.AddMvc().AddJsonOptions(options =>
{
options.SerializerSettings.DateTimeZoneHandling = Newtonsoft.Json.DateTimeZoneHandling.Local;
options.SerializerSettings.ContractResolver = new DefaultContractResolver();
});
} |