mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
"added somehow missing support for PERCENT-COMPLETE attribute, which exists in InfoLog an iCal vTodo"
This commit is contained in:
parent
38bb1c75ca
commit
5fccf96345
@ -85,6 +85,7 @@ class vcalinfolog extends boinfolog
|
||||
$vevent->setAttribute('STATUS',$this->status2vtodo($taskData['info_status']));
|
||||
// we try to preserv the original infolog status as X-INFOLOG-STATUS, so we can restore it, if the user does not modify STATUS
|
||||
$vevent->setAttribute('X-INFOLOG-STATUS',$taskData['info_status']);
|
||||
$vevent->setAttribute('PERCENT-COMPLETE',$taskData['info_percent']);
|
||||
$vevent->setAttribute('PRIORITY',$this->egw_priority2vcal_priority[$taskData['info_priority']]);
|
||||
|
||||
if (!empty($taskData['info_cat']))
|
||||
@ -214,6 +215,9 @@ class vcalinfolog extends boinfolog
|
||||
unset($uid_task);
|
||||
}
|
||||
break;
|
||||
case 'PERCENT-COMPLETE':
|
||||
$taskData['info_percent'] = (int) $attributes['value'];
|
||||
break;
|
||||
}
|
||||
}
|
||||
# the horde ical class does already convert in parsevCalendar
|
||||
|
Loading…
Reference in New Issue
Block a user