Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#5549 closed bug (notabug)

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 9 years ago.
A screenshot of the problem

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by shanteng

Attachment: snap.jpg added

A screenshot of the problem

comment:1 Changed 9 years ago by Jörn Zaefferer

Component: ui.coreui.datepicker
Resolution: invalid
Status: newclosed

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

comment:2 Changed 7 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.