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

Weeknumber "1" is missing

1 Answer 52 Views
DatePicker
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Daniel Knoll
Top achievements
Rank 1
Daniel Knoll asked on 29 Jun 2010, 08:59 AM
Hi,
when I set the "CalendarWeekRule" Property to "CalendarWeekRule.FirstFourDayWeek", then the first week of the year 2009 does not get the Weeknumber "1", but it gets "53", what is wrong. The 2nd week in 2009 gets weeknumber 2, which is correct. Nevertheless 2008 does not have 53 weeks with FirstFourDayWeek rule applied, but it only has 52 weeks. Same problem is with first week in 2013.
Is there a workaround or fix to this bug?
br,
Markus

1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 30 Jun 2010, 01:29 PM
Hello Markus Unterauer,

Thank you for contacting us.

This is because that is the default count of the weeks. Actually the first week of 2010 contains just three days - 1st, 2nd and 3rd January.
As a work-around I can suggest you refer to this forum post.

If you have any other questions about our controls please let us know.

Greetings,
Konstantina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
DatePicker
Asked by
Daniel Knoll
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or