Skip to content

Commit

Permalink
Merge branch 'fix-date-handling' of https://github.com/jcaron23/ics i…
Browse files Browse the repository at this point in the history
…nto fix-date-handling
  • Loading branch information
jcaron23 committed Jul 1, 2019
2 parents 95e248c + 7c847b5 commit 9b3ed93
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,11 @@ The following properties are accepted:
| Property | Description | Example |
| ------------- | ------------- | ----------
| start | **Required**. Date and time at which the event begins. | `[2000, 1, 5, 10, 0]` (January 5, 2000)
| startInputType | Type of the date/time data in `start`: `local` (default): passed data is in local time. `utc`: passed data is UTC |
| startOutputType | Format of the start date/time in the output: `utc` (default): the start date will be sent in UTC format. `local`: the start date will be sent as "floating" (form #1 in [RFC 5545](https://tools.ietf.org/html/rfc5545#section-3.3.5)) |
| startInputType | Type of the date/time data in `start`:<br>`local` (default): passed data is in local time.<br>`utc`: passed data is UTC |
| startOutputType | Format of the start date/time in the output:<br>`utc` (default): the start date will be sent in UTC format.<br>`local`: the start date will be sent as "floating" (form #1 in [RFC 5545](https://tools.ietf.org/html/rfc5545#section-3.3.5)) |
| end | Time at which event ends. *Either* `end` or `duration` is required, but *not* both. | `[2000, 1, 5, 13, 5]` (January 5, 2000 at 1pm)
| endInputType | Type of the date/time data in `end`: `local`: passed data is in local time. `utc`: passed data is UTC. The default is the same as `startInputType` |
| endOutputType | Format of the start date/time in the output: `utc`: the start date will be sent in UTC format. `local`: the start date will be sent as "floating" (form #1 in [RFC 5545](https://tools.ietf.org/html/rfc5545#section-3.3.5)). The default is the same as `startOutputType` |
| endInputType | Type of the date/time data in `end`:<br>`local`: passed data is in local time.<br>`utc`: passed data is UTC.<br>The default is the value of `startInputType` |
| endOutputType | Format of the start date/time in the output:<br>`utc`: the start date will be sent in UTC format.<br>`local`: the start date will be sent as "floating" (form #1 in [RFC 5545](https://tools.ietf.org/html/rfc5545#section-3.3.5)).<br>The default is the value of `startOutputType` |
| duration | How long the event lasts. Object literal having form `{ weeks, days, hours, minutes, seconds }` *Either* `end` or `duration` is required, but *not* both. | `{ hours: 1, minutes: 45 }` (1 hour and 45 minutes)
| title | Title of event. | `'Code review'`
| description | Description of event. | `'A constructive roasting of those seeking to merge into master branch'`
Expand Down

0 comments on commit 9b3ed93

Please sign in to comment.