Bug Tracker

Ticket #2124 (closed bug: fixed)

Opened 8 months ago

Last modified 6 months ago

Date picker - wrong week number

Reported by: giincM Assigned to: remysharp
Type: bug Priority: major
Milestone: 1.2.2 Component: ui
Version: 1.2.1 Keywords:
Cc: Needs: Patch

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

dp.jpg (61.7 kB) - added by kbwood 8 months ago.
OK in FF 2.0.0.11

Change History

Changed 8 months ago by kbwood

  • status changed from new to assigned
  • owner changed from paul to kbwood

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

Changed 8 months ago by kbwood

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

Changed 8 months ago by giincM

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

Changed 8 months ago by kbwood

OK in FF 2.0.0.11

Changed 8 months ago by kbwood

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

Changed 8 months 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.

Changed 8 months 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?

Changed 6 months ago by paul

  • owner changed from kbwood to remysharp
  • status changed from assigned to new

Changed 6 months 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.

Changed 6 months ago by rworth

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.