[Tickets #7846] Re: Sunbird displays recurring events one day short

bugs at horde.org bugs at horde.org
Fri Jun 11 07:38:15 UTC 2010


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/7846
------------------------------------------------------------------------------
  Ticket             | 7846
  Updated By         | michael.groene at zew.uni-hannover.de
  Summary            | Sunbird displays recurring events one day short
  Queue              | Kronolith
  Version            | 2.3-RC1
  Type               | Bug
  State              | Resolved
  Priority           | 1. Low
  Milestone          | 2.3.2
  Patch              |
  Owners             | Jan Schneider
------------------------------------------------------------------------------


michael.groene at zew.uni-hannover.de (2010-06-11 03:38) wrote:

Sync doesn't work again. After upgrading to your current sourcecode,  
the Recurring Event is displayed one day too often, as before. But  
this time, you manually add one day to "UNTIL".
When I comment out that line, everything works fine with lightning.

So changing kronoliths' recurrence.php in line 1168ff to:
         if ($this->hasRecurEnd()) {
#            $recurEnd = new Horde_Date($this->recurEnd);
#            $recurEnd->mday++;
             $rrule .= ';UNTIL=' . $calendar->_exportDateTime($this->recurEnd);
         }

Works as expected again, leading me to the question, why you're adding  
an extra day to until.






More information about the bugs mailing list