Skip to content

Commit

Permalink
🐛 Add docs for units (fixed #286)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandChowdhary authored Apr 16, 2021
1 parent 38cd206 commit 7ff87dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ ics(event); // standard ICS file based on https://icalendar.org

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.
Expand Down

0 comments on commit 7ff87dc

Please sign in to comment.