Line 131 in /websites/vhosts/cedow-st-pauls-moss-vale.solweb.com.au/releases/20231205063630/app/src/extensions/iCalFeedExtension.php
122 } 123 124 if (!is_a($events, Document::class)) { 125 return new ArrayList(); 126 } 127 128 $populated_uids = []; 129 130 // Loop through all the events and build an array list of iCalEvents 131 foreach ($events->VEVENT as $key => $event) { 132 // if (isset($event->uid) && in_array($event->uid, $populated_uids)) { 133 // continue; 134 // } 135 136 $date_start_utc = $event->dtstart->getDateTime(new \DateTimeZone('Australia/Sydney')); 137 $date_end_utc = new \DateTime($event->dtend, new \DateTimeZone('Australia/Sydney'));