Scheduler - After-Hours Appointment Bug?

1 Answer 83 Views
Scheduler
Brent
Top achievements
Rank 1
Iron
Brent asked on 16 Jun 2021, 04:44 PM | edited on 21 Jun 2021, 07:21 PM

Here's another one for you.  I didn't see any similar bugs listed in GitHub.  Did I find a bug?

Repro Steps:

(Updated: Important first step.)  Setup:

  • Run these steps on a laptop running Windows 10.
  • Set the time zone to CDT aka "Central Daylight Time" aka "America/Chicago".
  • When testing in Firefox, you must close and re-start the browser after changing time zone.
  • In Chrome, restarting the browser shouldn't be necessary.
  • In either browser, open the developer console, click on Console to open a JavaScript console, type "new Date()", and push Enter. Confirm that the result is displayed in Central time (ex: "Mon Jun 21 2021 14:19:38 GMT-0500 (Central Daylight Time)").
  • This bug is reproducible when the browser is in CDT, and this bug is NOT reproducible when the browser is in MSK.

Run the "KendoReact Scheduler Demo Preview" demo from https://www.telerik.com/kendo-react-ui/components/scheduler/#toc-kendoreact-scheduler-demo-preview .  Running it directly from the Telerik site is fine; StackBlitz is not necessary.

Note that the Scheduler starts out in "business hours" mode, with a "Show full day" button visible at the bottom.

Double-click an empty slot to add a new appointment.

Enter a Start Time outside business hours such as 6 PM.

Enter a title, description, end time as necessary and push Save.

The new appointment is not visible.  This is expected, as it's outside business hours.

Now push "Show full day".

Result:

The new appointment is NOT visible.

But push the ">" button on the top left, to the right of the "today" button.  Then push the "<" button.  (This moves forward a week, then moves back.)  The appointment is now visible.

Expected:

The new appointment should be visible immediately upon pushing "Show full day".

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 17 Jun 2021, 09:04 AM

Hello, Brent,

Thank you for the details.

I tested this and it was shown as expected.

I made a short video, please let me know if I missed a step

Regards,
Stefan
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/.

Brent
Top achievements
Rank 1
Iron
commented on 18 Jun 2021, 05:55 PM | edited

Thanks for making that video demonstrating my repro steps don't work on your machine! I've attached Screencap.zip with MY video. Could user time zone or time of day be a variable? I'm in America/Chicago aka Central Daylight Time.
Stefan
Telerik team
commented on 21 Jun 2021, 10:44 AM

We have checked the video, and it was still working as expected on our end.

We assume that maybe because of the timezone difference, the event is originally created on a different day and after the refresh, it is shown correctly.

We have logged an item in GitHub to investigate it more closely and the status can be monitored here:

https://github.com/telerik/kendo-react/issues/974

I have also updated your Telerik points for bringing this to our attention.

Brent
Top achievements
Rank 1
Iron
commented on 21 Jun 2021, 07:09 PM | edited

A ha! This bug is indeed reproducible in the Central time zone and not in the Moscow time zone. (I understand Moscow is UTC+3 like Bulgaria.) I've updated the repro steps accordingly. Please do me this favor: would you set your time zone to Central (UTC-6) close your web browser, and then try again? That will confirm I have provided your associates with consistently reproducible behavior.
Stefan
Telerik team
commented on 22 Jun 2021, 04:55 AM

Yes, I tested it with Central (UTC-6) timezone and indeed I was able to reproduce it.

The issue is indeed connected to the user timezone.
Brent
Top achievements
Rank 1
Iron
commented on 22 Jun 2021, 02:21 PM

Many thanks for persisting and finding reliable repro steps! I know the dev team will appreciate being able to consistently reproduce this bug.
Tags
Scheduler
Asked by
Brent
Top achievements
Rank 1
Iron
Answers by
Stefan
Telerik team
Share this question
or