Skip to main content

Bug Tracker

Side navigation

#3600 closed bug (invalid)

Opened November 13, 2008 03:17PM UTC

Closed November 14, 2008 12:57AM UTC

Last modified November 08, 2011 10:26AM UTC

DatePicker Bug

Reported by: Ven Owned by: joern
Priority: critical Milestone:
Component: web Version: 1.2.6
Keywords: Date Picker Bug Cc: venh.123@gmail.com
Blocked by: Blocking:
Description

The Date Picker has a Bug. Only for the Month of November 2008, there are duplicate dates shown in the DatePicker. This is happening for 11-02-2008. Please take a look at the date picker given in the demonstration of your site itself. The bug is shown even there. Please let me know the solution for this.

Attachments (1)
Change History (4)

Changed November 13, 2008 08:36PM UTC by pegas123@gma comment:1

I can confirm. The 11/2/08 is duplicate. Other months/years seem to be O.K. I am using jquery-ui-personalized-1.5.2 downloaded today. Happens in IE, FireFox and Chrome (so it is not JavaScript interpreter-related nor add-in influenced). Shoot me email if you can use my help with debugging/testing.

Changed November 13, 2008 09:14PM UTC by pegas123@gma comment:2

I can guess what it is. Look at the _generateDatepicker function. The last row of the dow loop () is supposed to increment the actual day:

printDate.setUTCDate(printDate.getUTCDate() + 1);

When you execute it with printDate = 11/2/2008 00:00 EDT

you get 11/2/2008 23:00 EDT. Is't that caused by the las day of the summer time?

Not sure what the best fix would be -- reliably and efficiently adding one day (not just 24 hours)?

Changed November 14, 2008 12:57AM UTC by flesler comment:3

resolution: → invalid
status: newclosed

Just check older tickets, don't go creating tickets just like that, please.

Changed November 08, 2011 10:26AM UTC by anonymous comment:4

Where can we have the good explanation for this problem ?

I'm using an old version of jquery-ui (1.6) and i cannot upgrade the version to 1.7 (otherwise everything is broken) i need to patch the datepicker 1.6 and to fix the bug, how can i do ?