#3600 closed bug (invalid)
DatePicker Bug
Reported by: | Ven | Owned by: | joern |
---|---|---|---|
Priority: | critical | Milestone: | |
Component: | web | Version: | 1.2.6 |
Keywords: | Date Picker Bug | Cc: | [email protected]… |
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 (5)
Changed 14 years ago by
Attachment: | DatePickerBug.JPG added |
---|
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
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)?
comment:3 Changed 14 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Just check older tickets, don't go creating tickets just like that, please.
comment:4 Changed 11 years ago by
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 ?
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.