Skip to main content

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!

Attachments (1)
  • snap.jpg (45.4 KB) - added by shanteng April 26, 2010 08:55AM UTC.

    A screenshot of the problem

Change History (2)

Changed July 30, 2010 10:28AM UTC by jzaefferer comment:1

component: ui.coreui.datepicker
resolution: → invalid
status: newclosed

Please use the forum to verify what the actual issue is.

Changed October 11, 2012 09:15PM UTC by scottgonzalez comment:2

milestone: TBD

Milestone TBD deleted