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

ejs-schedule Timezone issue


I'm currently implementing the ejs-schedule control into an Angular 6 project with a REST Web API back-end. Both the API and Client (both the same localhost machine at present) are on Europe/London time zone (currently GMT + 1 with summer time).

Here is the code I'm using for the control:

<ejs-schedule #scheduleObj
                    <e-view option='Day'></e-view>
Whatever I try, all events in the schedule are being rendered as 1 hour earlier than they actually are. For example, an event starting at 11am will be rendered at 10am, and so on.

Inspecting the values being passed to and from the API using server-side debugging, I can see that the events are all being sent back and forth with the correct date. It is only when it renders on the schedule that it shows incorrectly.

I have tried using many different time zone settings but so far have had no luck. My best guess is that the schedule is perhaps ignoring the fact that it is currently in Summer Time, and is therefore seeing its data source as GMT+1 and so subtracting 1 hour from the times provided. I've got no idea how to stop this behaviour - all I want is for the planner to display the times as provided by the server, with no adjustment for time zone.

Many thanks,


3 Replies

KK Karthigeyan Krishnamurthi Syncfusion Team August 12, 2019 01:14 AM

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.





CW Chris Watt August 12, 2019 03:53 AM

Hi Karthi,

I have removed the timezone property, but the issue still occurs. If I move an event to a specific time (e.g. 11am) it gets saved to the database at that time, and returned to the client correctly, but the scheduler is still displaying it at 10am.

Kind regards,


VD Vinitha Devi Murugan Syncfusion Team August 13, 2019 08:35 AM

Hi Chris, 
By default, Scheduler will send the data in 0 UTC to back end from source and while rendering in UI, it will automictically render the data based on the Schedule timezone. But in Core project, after receiving the data from source, it will automatically add the system timezone and then send to the back end. To avoid this only we suggested to add the below code in Startup.cs file.  
public void ConfigureServices(IServiceCollection services)    
    services.AddDbContext<ScheduleDataContext>(options =>    
    services.AddMvc().AddJsonOptions(options =>    
        options.SerializerSettings.DateTimeZoneHandling = Newtonsoft.Json.DateTimeZoneHandling.Local;    
        options.SerializerSettings.ContractResolver = new DefaultContractResolver();    
Kindly try the above suggested way and if the issue persist still share your request and response screenshot and schedule datasource screenshot to serve you better. 
M.Vinitha devi 

Live Chat Icon For mobile
Up arrow icon