Skip to content

Commit

Permalink
update readme for 'includeUtc' (#265)
Browse files Browse the repository at this point in the history
  • Loading branch information
Strandinator authored Aug 18, 2022
1 parent f65d7cf commit 374a934
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ import { getTimeZones, rawTimeZones, timeZonesNames, abbreviations } from "@vvo/

```js
const timeZones = getTimeZones();

// You can also provide an optional parameter to include UTC in the result.
// This adds a time zone with the name "UTC" and a fixed offset of 0.
const timeZonesWithUtc = getTimeZones({ includeUtc: true });
```

This method returns an array of time zones objects:
Expand Down

0 comments on commit 374a934

Please sign in to comment.