You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -54,13 +54,13 @@ ics(event); // standard ICS file based on https://icalendar.org
54
54
|`guests`| Emails of other guests | Array of emails (String) |
55
55
|`url`| Calendar document URL | String |
56
56
57
-
Any one of the fields `end`, `duration`, or `allDay` is required.
58
-
59
-
The allowed units in `duration` are listed here: https://day.js.org/docs/en/durations/creating#list-of-all-available-units.
60
-
61
-
The `url` field defaults to `document.URL` if a global `document` object exists. For server-side rendering, you should supply the `url` manually.
57
+
#### Notes
62
58
59
+
- Any one of the fields `end`, `duration`, or `allDay` is required.
60
+
- The allowed units in `duration` are listed here: https://day.js.org/docs/en/durations/creating#list-of-all-available-units.
61
+
- The `url` field defaults to `document.URL` if a global `document` object exists. For server-side rendering, you should supply the `url` manually.
63
62
Not all calendars support the `guests` and `url` fields.
63
+
- If you don't pass the start and end time in UTC, Google will convert it to UTC but Outlook won't, so it's a good idea to use UTC when passing dates and times
0 commit comments