Unplanned
Last Updated: 24 May 2022 06:04 by ADMIN
Neil
Created on: 24 May 2022 06:01
Category: Scheduler
Type: Bug Report
1
Recurring events are not rendered on correct day in different timezones

Bug report

Recurring events are not rendered on the correct date when an event has to be displayed on different dates in different time zones.

Reproduction of the problem

  1. In our demos or the Dojo linked here create an event with starting time of 09 AM. Set the event to repeat every Monday. In the example below the timezone of the machine and the event is UTC +2 (Sofia)

image

Below are two events recurring and nonrecurring created with the same starting date and time in UTC +2
image

  1. To simulate opening in different time zones change the Timezone on the machine with a difference of more than -9 hours, so the event to be expected to display on the previous day. For example, select UTS -10 Hawaii.

Current behavior

After changing the time zone on the machine from UTC +2 to UTC -10 the event is rendered at 8 PM, but it is still displayed on Monday. Thus, recurring and non-recurring events created with the same start date and time are displayed on different days when the time zone is changed:
image

Expected/desired behavior

The date of the recurring event should be changed according to the time zone. It should be possible to repeat events on a different days of the week when the Scheduler is opened at different timezone

Environment

  • Kendo UI version: 2022.2.512
  • Browser: [all ]
1 comment
ADMIN
Neli
Posted on: 24 May 2022 06:04

Hello Neil,

The described issue is a valid bug. However, the start and end times of the events in the Scheduler are saved as UTC dates. The Scheduler will not be aware of the current timezone by the time of creating the event, except it is explicitly set. Thus, even after the item is fixed it will be possible for the recurring events to be rendered on a different day only if the timezone of the event is set.

Regards,
Neli
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.