-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: get all supported timezones list (#10)
* feat: get all supported timezones list * v1.3.2
- Loading branch information
Showing
6 changed files
with
57 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Supported Timezones | ||
|
||
## Description | ||
|
||
This function returns a list of all supported IANA timezones, making it easy to access and work with timezone data. | ||
|
||
## Usage | ||
|
||
```javascript | ||
import { getSupportedTimezones } from 'world-clockify'; | ||
|
||
const timezones = getSupportedTimezones(); | ||
``` | ||
|
||
## Expected Output | ||
|
||
```bash | ||
|
||
Africa/Abidjan', | ||
'Africa/Accra', | ||
'Africa/Addis_Ababa', | ||
'Africa/Algiers', | ||
'Africa/Asmera', | ||
'Africa/Bamako', | ||
'Africa/Bangui', | ||
'Africa/Banjul', | ||
'Africa/Bissau', | ||
... more items | ||
``` | ||
## Returns | ||
Returns: strings[], Array of string each representing a valid IANA timezone. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters