I am using RadControls from "TelerikUI.UniversalWindowsPlatform": "2016.2.608.45"
I'm experiencing some inconsistencies with week number on the RadCalendar. The desired behavior is to show a month at a time, with the week number shown on each Sunday cell, and Sunday is the first day of the week. I am using the WeekNumberCellStyle to display it. It looks fine visually but the data is incorrect for a couple months.
In months where the first of the month is a Sunday, the entire previous week is shown in the top row, which puts the first week of that month in the second row. However the week numbers are displayed as if the first of that month is in the top row. As a result, the week numbers are all shown as one higher for that month. When viewing the months before and after, the week numbers are all shown correctly.
The first instance this can be seen is when comparing Dec 2016 to Jan 2017. When viewing Dec 2016, the first week is Week 47: Sun Nov 27-Sat Dec 3, and the last visible row is Week 1: Sun Jan 1-Sat Jan 7. This is correct. But when viewing Jan 2017, the first row is Week 1: Sun Dec 25-Sat Dec 31, second row is Week 2: Sun Jan 1-Sat Jan 7, etc., through Week 6: Sun Jan 29-Sat Feb 4. The week numbers for all of these are incorrect. When viewing Feb 2017, the week numbers correct themselves. The first row is Week 5: Sun Jan 29-Sat Feb 4.
The problem also occurs in Oct 2017, Apr 2018, and so forth.
Can someone please let me know if I am doing something wrong or if this is a bug and will be fixed?
Thanks,
Joe