Skip to content

Commit 9b3efb4

Browse files
✨ Add support for local time in Outlook and Office365
1 parent 5755074 commit 9b3efb4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ ics(event); // standard ICS file based on https://icalendar.org
5454
| `guests` | Emails of other guests | Array of emails (String) |
5555
| `url` | Calendar document URL | String |
5656

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
6258

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.
6362
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
6464

6565
## License
6666

0 commit comments

Comments
 (0)