Kendo-ui-core: Wrong week number if 53 weeks

Created on 27 Feb 2017  Â·  4Comments  Â·  Source: telerik/kendo-ui-core

Bug report

The wrong week number is displayed using the Kendo Datepicker. Assuming it's because that 2016 had 53 weeks.

Reproduction of the problem

http://dojo.telerik.com/oniku

Current behavior

The first week of the current year is 2 if the previous year ends with week 53. This displaces every week of the year. For example now its week 9 according to the ISO8601 standard but the datepicker displays week 10. Locale used 'sv-SE', however, the error exists no matter which locale is used. Tested in .NET MVC and using jQuery.

Expected/desired behavior

Expected behaviour is for the year to start with week 1 instead of week 2.

Environment

  • Kendo UI version: 2017.1.223
  • jQuery version: 2.2.4
  • Browser: all
Bug Calendar DatePicker Low jQuery1

All 4 comments

This problem is fixed with Kendo UI latest official release.

Thank you!

Is this issue resolved with a new version of kendo.mvc.fluent.ui?

This was resolved four years ago. In late 2017. You need at least version 2017 autumn release.

Den ons 24 feb. 2021 kl 11:00 skrev tobbin2 notifications@github.com:

Is this issue resolved with a new version of kendo.mvc.fluent.ui?

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/telerik/kendo-ui-core/issues/2822#issuecomment-784957225,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABQ2RFAWL5GC2252QTVQMCDTATE2ZANCNFSM4DBUO6EA
.

Was this page helpful?
0 / 5 - 0 ratings