From 479a4946eb17a90beb0f64bd10212174c363c54b Mon Sep 17 00:00:00 2001 From: Kyle Milloy Date: Sat, 4 May 2024 22:03:42 -0600 Subject: [PATCH] fix: uid look and feel --- composer.json | 2 +- src/NowCal/NowCal.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);