Skip to content

Commit

Permalink
fix: include RDATE in busy calulation
Browse files Browse the repository at this point in the history
Signed-off-by: SebastianKrupinski <[email protected]>
  • Loading branch information
SebastianKrupinski authored and phil-davis committed Oct 22, 2024
1 parent c8ef5fd commit 7081a17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/FreeBusyGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ protected function calculateBusy(FreeBusyData $fbData, array $objects): void

$times = [];

if ($component->RRULE) {
if ($component->RRULE || $component->RDATE) {
try {
$iterator = new EventIterator($object, (string) $component->UID, $this->timeZone);
} catch (NoInstancesException $e) {
Expand Down

0 comments on commit 7081a17

Please sign in to comment.