Skip to content

Commit

Permalink
Fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
alies-dev committed Jan 26, 2024
1 parent 1ffc15a commit cd7f8a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit cd7f8a8

Please sign in to comment.