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.

CommentFileSizeAuthor
date-popup-double-days.png11.33 KBnrambeck

Comments

karens’s picture

Status: Active » Postponed (maintainer needs more info)

I'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.

nrambeck’s picture

Karen, 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?

fractile81’s picture

I also have this bug. I am using PHP 5.2.5 in Windows/IIS and am therefore not using the PHP4 module with Date.

fractile81’s picture

Quick 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.

fractile81’s picture

Just 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.

karens’s picture

Status: Postponed (maintainer needs more info) » Fixed

The 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.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.