mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-04-27 15:31:32 +00:00
Display RECURRENCE-ID as appropriate.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
This commit is contained in:
parent
5e5fa2d44e
commit
4278ace1f7
@ -1086,9 +1086,9 @@ function expand_event_instances( $vResource, $range_start = null, $range_end = n
|
||||
'RRULE' => true, 'RDATE' => true, 'EXDATE' => true) );
|
||||
}
|
||||
$component->AddProperty('DTSTART', $utc, ($is_date ? array('VALUE' => 'DATE') : null) );
|
||||
if ( $has_repeats )
|
||||
$component->AddProperty('RECURRENCE-ID', $utc, ($is_date ? array('VALUE' => 'DATE') : null) );
|
||||
$component->AddProperty('DURATION', $duration );
|
||||
if ( $has_repeats && $dtstart->FloatOrUTC() != $utc )
|
||||
$component->AddProperty('RECURRENCE-ID', $utc, ($is_date ? array('VALUE' => 'DATE') : null) );
|
||||
$new_components[] = $component;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user