diff --git a/composer.json b/composer.json index 665f9d7..93f2e09 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "itsnubix/nowcal", - "version": "1.2.3", + "version": "1.2.4", "description": "A modern PHP library for generating iCalendar v2.0 events", "keywords": [ "icalendar", diff --git a/src/NowCal/NowCal.php b/src/NowCal/NowCal.php index 56d51c2..a012156 100644 --- a/src/NowCal/NowCal.php +++ b/src/NowCal/NowCal.php @@ -566,7 +566,7 @@ protected function formatOffset(int $offset): string protected function createEvent(): void { $this->output[] = 'BEGIN:VEVENT'; - $this->output[] = $this->getUidAttribute(); + $this->output[] = 'UID:' . $this->getUidAttribute(); foreach ($this->event_parameters as $key) { $this->output[] = $this->getParameter($key);