Skip to content

Commit

Permalink
feat(options): add 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 a9f4c04 commit 8a1fb13
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/parse-client-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ function parseOptions(options, log, hook) {
clientDefaults.mediaType.previews = options.previews;
}

if (options.timeZone) {
clientDefaults.headers["time-zone"] = options.timeZone;
}

if (options.timeout) {
deprecateOptionsTimeout(
log,
Expand Down

0 comments on commit 8a1fb13

Please sign in to comment.