On the popup calendar I am getting an extra day added in the calendar in November only (I think it's only November). This happens in November for each year, but will add the extra day in different places for each year. In the attached screenshot, you'll see to November 2008 has Nov 2 twice.
Can anyone else replicate this bug? I searched the issue queue first, but didn't find any other bugs like this.
| Comment | File | Size | Author |
|---|---|---|---|
| date-popup-double-days.png | 11.33 KB | nrambeck |
Comments
Comment #1
karens commentedI'll bet you're not using PHP 5.2, this looks like the same daylight savings time bug we saw last spring for people using PHP versions less than 5.2. I tried to add a bunch of fixes for this bug but it's possible your system is not using the optimized code. Go to admin/settings/date_php4 and see what option is selected there. If it's set to TRUE, try setting it to FALSE.
Comment #2
nrambeck commentedKaren, thanks for the reply. This is happening on 2 Linux servers. One is PHP 5.2.5 and the other is PHP 5.2.6. If this is a DST bug, could you point me in the right direction on how to test it?
Comment #3
fractile81 commentedI also have this bug. I am using PHP 5.2.5 in Windows/IIS and am therefore not using the PHP4 module with Date.
Comment #4
fractile81 commentedQuick follow-up, looks like it's the .datepicker that might have the problem (in the JS). The jQuery UI demo for it has the same problem:
http://docs.jquery.com/UI/Datepicker
Other people with the same problem:
http://groups.google.com/group/jquery-ui/browse_thread/thread/d4f1fb6473...
http://groups.google.com/group/jquery-ui/browse_thread/thread/da08abcc6f...
Looks like this is solved in the next version of jQuery UI.
Comment #5
fractile81 commentedJust dropping in the 1.6RC2 version of the ui.datepicker.js file and doing a forced refresh of my page appears to have fixed the immediate problem, and doesn't appear to break anything. That said, probably wouldn't want to update the script itself until jQuery UI 1.6 has an official release.
Comment #6
karens commentedThe new version seems to work well with Drupal core jQuery and we're getting bug reports about the current version, so I've updated to the new version.