Login or Register

RSS IconRecent posts in this topic

avatar
digitalmark on Nov 11. 2007. 8:39 pm
When I subscribe to an iCal feed, a milestone for a project only shows visually on the start day. It does not span the days the Start to Due on the milestone (labeled as From/To in aC).

I believe this may have to do with the time settings because in iCal it shows a time of 12:00am. When subscribed in Gmail, it does span multiple days, but also labels it with (00:00) before the title of the event (in the calendar layout). I think if aC set these milestones as "all-day" events the same way iCal/gCal do, it would fix the glitch.
avatar
Ilija Studen on Nov 11. 2007. 10:48 pm
Hi,

Thanks for reporting this issue. We'll see to have it covered in the next release.
activeCollab team member
avatar
bizzynate on Dec 29. 2007. 2:14 pm
I have discovered how to fix this. There is a missing parameter which formats these as "all-day" events.

Go to activecollab/application/modules/system/functions.php and change lines 352 & 353 from:

$event->setProperty('dtstart', $start_on_year, $start_on_month, $start_on_day);
$event->setProperty('dtend', $due_on_year, $due_on_month, $due_on_day);

to

$event->setProperty('dtstart', array($start_on_year, $start_on_month, $start_on_day), array('VALUE'=>'DATE'));
$event->setProperty('dtend', array($due_on_year, $due_on_month, $due_on_day), array('VALUE'=>'DATE'));

That will send out the DTSTART/DTEND elements as:

DTSTART;VALUE=DATE:YYYYMMDD
DTEND;VALUE=DATE:YYYYMMDD

and not

DTSTART:YYYYMMDD000000
DTEND:YYYYMMDD000000
avatar
digitalmark on Dec 29. 2007. 6:01 pm
Thanks. Will give it a shot.
avatar
Ilija Studen on Jan 3. 2008. 5:35 am
@bizzynate:

Thanks, works like a charm.
activeCollab team member

RSS IconRecent posts in this topic