Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
146598 | Aug 9,2019 04:16 PM UTC | Aug 13,2019 01:35 PM UTC | Angular - EJ 2 | 3 |
![]() |
Tags: Schedule |
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();
});
} |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.