Skip to content

Commit

Permalink
docs(usage): add documentation for timeZone option
Browse files Browse the repository at this point in the history
  • Loading branch information
copperwall authored and gr2m committed Oct 8, 2019
1 parent 15a9467 commit b44b2b8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/src/pages/api/00_usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@ Learn more about [API Previews](#previews).
previews: ['jean-grey', 'symmetra'],
```
A default time zone can be enabled by setting the `timeZone` option.
```js
timeZone: 'Europe/Amsterdam',
```
Learn more about [using time zones with the GitHub API](https://developer.github.com/v3/#using-the-time-zone-header).
In order to use Octokit with GitHub Enterprise, set the `baseUrl` option.
```js
Expand Down

0 comments on commit b44b2b8

Please sign in to comment.