From cd7f8a8cce8b148d85bf3a835e7e470672dffb19 Mon Sep 17 00:00:00 2001 From: Alies Lapatsin Date: Fri, 26 Jan 2024 16:28:04 +0530 Subject: [PATCH] Fix example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5ee5d19..41e7752 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ echo $link->ics(['URL' => 'https://my-page.com', 'UID' => 'custom-id']); // // Generate a data uri for an ics file with the default reminder (for iCal & Outlook) echo $link->ics(['REMINDER' => []]); // Generate a data uri for an ics file with a custom reminder (for iCal & Outlook) -echo $link->ics(['REMINDER' => ['DESCRIPTION' => 'Remind me', 'TIME' => 1706264894]]); +echo $link->ics(['REMINDER' => ['DESCRIPTION' => 'Remind me', 'TIME' => new \DateTime('tomorrow 12:30 UTC')]]); echo $link->ics([], ['format' => 'file']); // e.g. to attach ics as a file to an email. // Generate a data URI using arbitrary generator: