Week number is calculated incorrectly in DatePicker

2 posts, 0 answers
  1. Jonathan Puddle
    Jonathan Puddle avatar
    4 posts
    Member since:
    Apr 2010

    Posted 19 Apr 2010 Link to this post

    We've started using the RadControls DatePicker for a site we're developer, and we've noticed that the DatePicker is calculating the week number incorrectly. It's easiest to see the cause of this problem if you look back to the start of the year. According to the ISO standard for week numbers (available here: http://en.wikipedia.org/wiki/ISO_week_date#Calculating_the_week_number_of_a_given_date) the first week of the year is the week that contains the first Thursday. However in your calculation the first week starts with the week containing the 1st day of the year (it appears).

    Subsequently, your week numbers are incorrect by 1. Additional information can also be found here: http://wapedia.mobi/en/ISO_week_date

    We would appreciate this issue looked into and hopefully fixed, as it is resulting in inaccurate data entry for our staff who use the DatePicker to find out the current week number.
  2. Dimo
    Admin
    Dimo avatar
    8472 posts

    Posted 19 Apr 2010 Link to this post

    Hello Jonathan,

    Please refer to

    http://www.telerik.com/community/forums/aspnet-ajax/calendar/2009-amp-53-weeks.aspx

    Sincerely yours,
    Dimo
    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.
Back to Top