This is a migrated thread and some comments may be shown as answers.

Agenda view does not respect timezone setting

3 Answers 88 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Henk
Top achievements
Rank 1
Henk asked on 03 Oct 2014, 11:08 AM
Hi all,
I've got the scheduler set up with the timezone setting ('Europe/Amsterdam') which is currently two hours away from UTC. The scheduler sends event times to the database back-end in UTC. When I add an event with start date timezone and end date timezone set to 'Europe/London', the start time and end times are correctly displayed (UTC+1 hour) in Day view, Month view, Week view but not in Agenda view, where the event is listed with the time set to the Europe/Amsterdam timezone (UTC+2 hours).

Is this intentional (for some reason) or am I missing something?

Best regards,
Henk

3 Answers, 1 is accepted

Sort by
0
Henk
Top achievements
Rank 1
answered on 03 Oct 2014, 12:34 PM
Hi all,
Sorry for the above post! I got this all wrong. The event is displayed in all the views according to the Europe/Amsterdam timezone (there must be something wrong with my eyesight). When opening the event in the editor, the Europe/London times are shown.

This timezone thing is quite confusing (at least it is to me) but is this how the scheduler is supposed to work?

Regards,
Henk
0
Georgi Krustev
Telerik team
answered on 07 Oct 2014, 07:42 AM
Hello Henk,

In general, the Scheduler sends and expects UTC dates (this is because JavaScript Date object is always created in local timezone). The timezone option defines the server timezone, as thus helps to show Scheduler widget in different timezone than the server one using the correct timezone offset. The startTimezone/endTimezone fields define the particular event time zones, but it always will be adjusted to the Scheduler's timezone. In other words, if the Scheduler is in "Europe/Amsterdam" and the event is in "Europe/London", then it will be shown with +2 hours in the Scheduler, as this event will happen +2 hours in Amsterdam.

Let me know if something is not clear or I am missing something in the described situation.

Regards,
Georgi Krustev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Henk
Top achievements
Rank 1
answered on 08 Oct 2014, 04:10 PM
Hi Georgi,
Thanks. That makes sense.

Regards,
Henk
Tags
Scheduler
Asked by
Henk
Top achievements
Rank 1
Answers by
Henk
Top achievements
Rank 1
Georgi Krustev
Telerik team
Share this question
or