Unplanned
Last Updated: 01 Feb 2023 08:55 by ADMIN
Sean
Created on: 18 Jan 2023 16:25
Category: Kendo UI for Angular
Type: Bug Report
0
Scheduler displaying the wrong date v11

I upgraded today from 4.3.7 to v11 and the dates are 1 day off in the scheduler month view, meaning the date variable from let-date (I think).  

 

<kendo-scheduler <ng-template kendoSchedulerMonthDaySlotTemplate let-date="date"> ...
<div>
{{ date | kendoDate : 'dd' }}</div>


<kendo-scheduler

    <ng-template kendoSchedulerMonthDaySlotTemplate let-date="date">

                ...  <div>{{ date | kendoDate : 'dd' }}</div> 

 

The date is just flat out wrong. What's weird is the mouseover shows the correct date.

Again, if I use the old version everything works as expected but the v11 update I'm off by one.

3 comments
ADMIN
Yanmario
Posted on: 01 Feb 2023 08:55

Hi Sean,

I can confirm that the behavior is a bug and it is related to the GitHub issue linked in my last reply. I will connect this bug report to the GitHub issue and the status will be updated when a fix is released. Feel free to also subscribe to the GitHub issue for further updates from our developers.

I apologize for any inconvenience caused until the issue is resolved.

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

Sean
Posted on: 25 Jan 2023 13:54

Hi Yanmario,

Here's a stackblitz link. It's your online example of month view, only I removed the day view and am binding to just a single event so you can see the issue better.  https://stackblitz.com/edit/angular-xq8zyk?file=src%2Fapp%2Fapp.component.ts,src%2Fapp%2Fapp.module.ts

As you can see in the attached screenshots, it shows Wednesday as the 24th in January 2023 when it is in fact the 25th. 

Second screenshot is my local Windows time.

Our timezone is Arizona which is always -7 from UTC, or always MST depending on how you look at it.

Hope that helps

Attached Files:
ADMIN
Yanmario
Posted on: 25 Jan 2023 11:39

Hi Sean,

Thank you for the provided feedback.

The issue sounds similar to the following bug report that was logged in our public repository:

https://github.com/telerik/kendo-angular/issues/3897

This was also reported by a client located in the United States and seems to be related to the device timezone. Could you confirm that the issue is similar to the reported one and if not, could you send us a screenshot and runnable example for us to troubleshoot? Thank you in advance for your cooperation.

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