From 7081a177e1f4c51bb6951491fe2de9f536113818 Mon Sep 17 00:00:00 2001 From: SebastianKrupinski Date: Tue, 1 Oct 2024 11:17:39 -0400 Subject: [PATCH] fix: include RDATE in busy calulation Signed-off-by: SebastianKrupinski --- lib/FreeBusyGenerator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/FreeBusyGenerator.php b/lib/FreeBusyGenerator.php index 424826034..2709ab9d2 100644 --- a/lib/FreeBusyGenerator.php +++ b/lib/FreeBusyGenerator.php @@ -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) {