Search and Top Navigation
#5549 closed bug (notabug)
Opened April 26, 2010 08:53AM UTC
Closed July 30, 2010 10:28AM UTC
Last modified October 11, 2012 09:15PM UTC
week calculate error
Reported by: | shanteng | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | ui.datepicker | Version: | 1.8 |
Keywords: | week firstDay | Cc: | |
Blocked by: | Blocking: |
Description
I want to set Friday as the first day of the week. Then i write this code:
$(".date").datepicker({ dateFormat: 'yy-mm-dd', changeMonth: true, changeYear: true, showWeek: true, firstDay: 5 });
When I change date to 2010-01-01(friday), the week displays 53, I think it should be 1.
I am not sure if it is a bug or only my misuse. Thanks for any help!
Please use the forum to verify what the actual issue is.