Bug Tracker


Ticket #2124 (closed bug: fixed)

Opened 6 years ago

Last modified 2 years ago

Date picker - wrong week number

Reported by: giincM Owned by: remysharp
Priority: major Milestone: 1.2.2
Component: ui Version: 1.2.1
Keywords: Cc:
Blocking: Blocked by:


Date picker shows wrong week number in march 2008, you can see it in second example here -  http://dev.jquery.com/view/trunk/ui/current/demos/ui.datepicker.html it shows last 2 week numbers both 13.


dp.jpg Download (61.7 KB) - added by kbwood 6 years ago.
OK in FF

Change History

comment:1 Changed 6 years ago by kbwood

  • Owner changed from paul to kbwood
  • Status changed from new to assigned

It works for me using FF and IE 7.0.5730.11 on WinXP Pro 2002 SP2.

comment:2 Changed 6 years ago by kbwood

  • Summary changed from Date picker to Date picker - wrong week number

comment:3 Changed 6 years ago by giincM

It looks like this -  http://nesaprot.net/uploads/datepicker.jpg in my firefox..

Changed 6 years ago by kbwood

OK in FF

comment:4 Changed 6 years ago by kbwood

It looks like the attached in mine. What OS and hardware are you running on?

comment:5 Changed 6 years ago by giincM

I have windows xp professional with sp2. Hardware? well, "CPU Type: DualCore Intel Core 2 Duo E6300, 1866 MHz (7 x 267), Motherboard Name: Hewlett-Packard HP Compaq dc7700 Small Form Factor, Motherboard Chipset: Intel Broadwater Q965 ". Is there any difference in what hardware I have?

p.s. Sorry for a late answer.

comment:6 Changed 6 years ago by kbwood

We've had reports of anomalies from other sources that we also cannot replicate. It was suggested that it may because they were using a 64bit machine rather than 32bit, hence the question about hardware. Is your CPU 64bit?

In the jQuery SVN under ui/current/datepicker/test there is a JsUnit ( http://www.jsunit.net) test suite for the datepicker. I've added a test for the suspect dates to the week-of-year tests. Can you run this test suite and report the results?

comment:7 Changed 6 years ago by paul

  • Owner changed from kbwood to remysharp
  • Status changed from assigned to new

comment:8 Changed 6 years ago by remysharp

Bug was in the summer time changing - affected UK date pickers on the first week of March and last week of October (missing week number).

Affected US around week 43.

I've fixed for the sprint and checked in to SVN - but can't update this ticket.

comment:9 Changed 6 years ago by rworth

  • Status changed from new to closed
  • Resolution set to fixed

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.


Add a comment

Modify Ticket

as closed

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.