Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#2124 closed bug (fixed)

Date picker - wrong week number

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

Description

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.

Attachments (1)

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

Download all attachments as: .zip

Change History (12)

comment:1 Changed 15 years ago by kbwood

Owner: changed from paul to kbwood
Status: newassigned

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

comment:2 Changed 15 years ago by kbwood

Summary: Date pickerDate picker - wrong week number

comment:3 Changed 15 years ago by giincM

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

Changed 15 years ago by kbwood

Attachment: dp.jpg added

OK in FF 2.0.0.11

comment:4 Changed 15 years ago by kbwood

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

comment:5 Changed 15 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 15 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 15 years ago by paul

Owner: changed from kbwood to remysharp
Status: assignednew

comment:8 Changed 15 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 15 years ago by rdworth

Resolution: fixed
Status: newclosed

comment:10 Changed 15 years ago by (none)

Milestone: 1.2.2

Milestone 1.2.2 deleted

comment:11 Changed 14 years ago by paul

Milestone: 1.5
Note: See TracTickets for help on using tickets.