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

kendo.date.weekInYear no more works

2 Answers 61 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mattia
Top achievements
Rank 1
Mattia asked on 11 May 2017, 07:03 AM
Hello! I've noticed that with last kendo release (2017.2.504) the helper method kendo.date.weekInYear returns always NaN, here you can check on dojo:

http://dojo.telerik.com/ASOQA

I don't know if other methods on kendo.date are afflicted by the same bug.

Greetings!

2 Answers, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 12 May 2017, 01:55 PM
Hi Mattia,

Thank you for repoting this. I reproduced this issue and it is indeed a bug. I logged an issue in the Kendo UI repository here:
Date.weekInYear mehod does not work when dayOfWeek parameter is not passed

Like the issue states, the problem is only observable when a second, weekStart parameter is not provided. So, while waiting for the development team to address the issue, you can explicitly add such parameter to get the method to work with the latest version.

Additionally, I updated your Telerik points as a small token of gratitude for reporting the issue.

Regards,
Tsvetina
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Mattia
Top achievements
Rank 1
answered on 12 May 2017, 02:03 PM
Ah ok, thank you very much!
Tags
General Discussions
Asked by
Mattia
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Mattia
Top achievements
Rank 1
Share this question
or