Closed (works as designed)
Project:
Date
Version:
6.x-2.x-dev
Component:
Date Repeat API
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Jan 2009 at 19:44 UTC
Updated:
24 Feb 2009 at 17:12 UTC
Jump to comment: Most recent file
Comments
Comment #1
markDrupal commentedThe negative numbers are coming from the following code in "date_repeat_form.inc" around line 140
changing :
to this :
got rid of the negative numbers, but is there some use for negative numbers that I am unaware of?
Comment #2
markDrupal commentedTurns out this module has some incompatibilities with the "better select" module which was causing that bad output (see image above), after disabling the better select module it works with nice output.
Comment #3
markDrupal commentedI managed to work out the compatibility issues for date_repeat_api and Better_Select modules for my site, but I am not sure if this patch would be worth committing. It might help you out though if you have any similar issues your self.
#362746-1: Check that #options are valid, else abort conversion to checkboxes for the same issue in the better select queue.
Comment #4
karens commentedThe negative dates are by design. That means start counting from the end of the month, so -1 means the last day, -2, the next to last day, etc.
The remaining issue would be the compatibility issue. It looks like committing the change here won't be enough unless a fix is posted to Better Select. Does the fix break any existing behavior without Better Select enabled? If not, I can still commit it.
Comment #5
markDrupal commentedno I wouldn't commit this, it is more a problem with betterselect, they need a way to selectively disable the conversion.