[kronolith] Remote calendar 3

Chuck Hagenbuch chuck at horde.org
Thu May 6 06:16:02 PDT 2004


Quoting Nazar <nazarius at ukr.net>:

>   i have a problem with remote calendars.
>   in ics file it writes so:
>  > DTSTART;VALUE=DATE:20040106
>   in iCalendar.php in parsevCalendar function:
>  > $this->setAttribute($tag, $this->_parseDate($value), $params);
>   in Driver.php
>  > $start = $vEvent->getAttribute('DTSTART');
>   and in $start we have array with keys (year, month, day)
>   and below:
>  >if (!is_array($start) && !is_a($start, 'PEAR_Error')) {
>  >  $this->setStartTimestamp($start);
>  > }
>   inasmuch as $start is array => StartTimestamp = 0
>   and in kronolith.php in listEvents function:
>  >if ($event->getEndTimestamp() < $startOfPeriodTimestamp ||
>  >$event->getStartTimestamp() > $endOfPeriodTimestamp) {
>  >continue;
>  >}
>  we always make continue!!!
>  and i can't view events from remote calendar
>  what i must do?

Fix it and send us a patch.

At the very least, file a bug report on bugs.horde.org with the FULL 
ics file so
we can reproduce your problem.

-chuck

--
"Regard my poor demoralized mule!" - Juan Valdez


More information about the kronolith mailing list