-
-
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 calendars and currency (#20)
- Loading branch information
1 parent
0f39415
commit 813cad0
Showing
5 changed files
with
101 additions
and
0 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,33 @@ | ||
# Supported Timezones | ||
|
||
## Description | ||
|
||
This function returns a list of all supported calendars, making it easy to access and work with timezone data and calender. | ||
|
||
## Usage | ||
|
||
```javascript | ||
import { getSupportedCalendar } from 'world-clockify'; | ||
|
||
const calendar = getSupportedCalendar(); | ||
``` | ||
|
||
## Expected Output | ||
|
||
```bash | ||
|
||
'buddhist', 'chinese', | ||
'coptic', 'dangi', | ||
'ethioaa', 'ethiopic', | ||
'gregory', 'hebrew', | ||
'indian', 'islamic', | ||
'islamic-civil', 'islamic-rgsa', | ||
'islamic-tbla', 'islamic-umalqura', | ||
'iso8601', 'japanese', | ||
'persian', 'roc' | ||
|
||
``` | ||
|
||
## Returns | ||
|
||
Returns: strings[], Array of string each representing supported calendar. |
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 Currency | ||
|
||
## Description | ||
|
||
This function returns a list of all supported currencies, making it easy to access and work with currency data. | ||
|
||
## Usage | ||
|
||
```javascript | ||
import { getSupportedCrrency } from 'world-clockify'; | ||
|
||
const currency = getSupportedCrrency(); | ||
``` | ||
|
||
## Expected Output | ||
|
||
```bash | ||
|
||
'AED', 'AFN', 'ALL', 'AMD', 'ANG', 'AOA', 'ARS', 'AUD', | ||
'AWG', 'AZN', 'BAM', 'BBD', 'BDT', 'BGN', 'BHD', 'BIF', | ||
'BMD', 'BND', 'BOB', 'BRL', 'BSD', 'BTN', 'BWP', 'BYN', | ||
'BZD', 'CAD', 'CDF', 'CHF', 'CLP', 'CNY', 'COP', 'CRC', | ||
'CUC', 'CUP', 'CVE', 'CZK', 'DJF', 'DKK', 'DOP', 'DZD', | ||
'EGP', 'ERN', 'ETB', 'EUR', 'FJD', 'FKP', 'GBP', 'GEL', | ||
'GHS', 'GIP', 'GMD', 'GNF', 'GTQ', 'GYD', 'HKD', 'HNL', | ||
'HRK', 'HTG', 'HUF', 'IDR', 'ILS', 'INR', 'IQD', 'IRR', | ||
'ISK', 'JMD', 'JOD', 'JPY', 'KES', 'KGS', 'KHR', 'KMF', | ||
... more items | ||
|
||
``` | ||
|
||
## Returns | ||
|
||
Returns: strings[], Array of string each representing supported currency. |
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