Skip to content

Commit

Permalink
✨ Add support for local time in Outlook and Office365
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandChowdhary authored Oct 21, 2022
1 parent 5755074 commit 9b3efb4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ ics(event); // standard ICS file based on https://icalendar.org
| `guests` | Emails of other guests | Array of emails (String) |
| `url` | Calendar document URL | String |

Any one of the fields `end`, `duration`, or `allDay` is required.

The allowed units in `duration` are listed here: https://day.js.org/docs/en/durations/creating#list-of-all-available-units.

The `url` field defaults to `document.URL` if a global `document` object exists. For server-side rendering, you should supply the `url` manually.
#### Notes

- Any one of the fields `end`, `duration`, or `allDay` is required.
- The allowed units in `duration` are listed here: https://day.js.org/docs/en/durations/creating#list-of-all-available-units.
- The `url` field defaults to `document.URL` if a global `document` object exists. For server-side rendering, you should supply the `url` manually.
Not all calendars support the `guests` and `url` fields.
- 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

## License

Expand Down

0 comments on commit 9b3efb4

Please sign in to comment.