tn
tzdata-northamerica
npm i tzdata-northamerica
tn

tzdata-northamerica

Generates the tzdata* family of NPM modules.

by Rogier Schouten

1.0.30 (see all)License:MITTypeScript:Not Found
npm i tzdata-northamerica
Readme

Synopsis

This is (a portion of) the IANA TZ database, represented as JSON. Use this module in combination with timezonecomplete. It is part of a set of similar modules:

  • tzdata
  • tzdata-africa
  • tzdata-antarctica
  • tzdata-asia
  • tzdata-australasia
  • tzdata-backward
  • tzdata-etcetera
  • tzdata-europe
  • tzdata-factory
  • tzdata-northamerica
  • tzdata-southamerica
  • tzdata-backward-utc

This module contains all zones of IANA TZ database file 'northamerica'.

TZ Database Version

2022a

Use

In Node.JS, to get at the JSON data, simply do:

var jsonData = require('tzdata-northamerica');

In a browser, use the bundled UMD module provided in tzdata-northamerica.js.

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>tzdata-northamerica example</title>
    <script src="./tzdata-northamerica.js"></script>
    <script>
        function onLoad() {
            var data = tzdataNorthamerica;
        }
    </script>
</head>
<body onLoad="onLoad()">
</body>
</html>

License

MIT

Zones in This Module

America/Adak, America/Anchorage, America/Anguilla, America/Antigua, America/Aruba, America/Atikokan, America/Bahia_Banderas, America/Barbados, America/Belize, America/Blanc-Sablon, America/Boise, America/Cambridge_Bay, America/Cancun, America/Cayman, America/Chicago, America/Chihuahua, America/Costa_Rica, America/Creston, America/Curacao, America/Dawson, America/Dawson_Creek, America/Denver, America/Detroit, America/Dominica, America/Edmonton, America/El_Salvador, America/Fort_Nelson, America/Glace_Bay, America/Goose_Bay, America/Grand_Turk, America/Grenada, America/Guadeloupe, America/Guatemala, America/Halifax, America/Havana, America/Hermosillo, America/Indiana/Indianapolis, America/Indiana/Knox, America/Indiana/Marengo, America/Indiana/Petersburg, America/Indiana/Tell_City, America/Indiana/Vevay, America/Indiana/Vincennes, America/Indiana/Winamac, America/Inuvik, America/Iqaluit, America/Jamaica, America/Juneau, America/Kentucky/Louisville, America/Kentucky/Monticello, America/Kralendijk, America/Los_Angeles, America/Lower_Princes, America/Managua, America/Marigot, America/Martinique, America/Matamoros, America/Mazatlan, America/Menominee, America/Merida, America/Metlakatla, America/Mexico_City, America/Miquelon, America/Moncton, America/Monterrey, America/Montserrat, America/Nassau, America/New_York, America/Nipigon, America/Nome, America/North_Dakota/Beulah, America/North_Dakota/Center, America/North_Dakota/New_Salem, America/Ojinaga, America/Panama, America/Pangnirtung, America/Phoenix, America/Port-au-Prince, America/Port_of_Spain, America/Puerto_Rico, America/Rainy_River, America/Rankin_Inlet, America/Regina, America/Resolute, America/Santo_Domingo, America/Sitka, America/St_Barthelemy, America/St_Johns, America/St_Kitts, America/St_Lucia, America/St_Thomas, America/St_Vincent, America/Swift_Current, America/Tegucigalpa, America/Thunder_Bay, America/Tijuana, America/Toronto, America/Tortola, America/Vancouver, America/Whitehorse, America/Winnipeg, America/Yakutat, America/Yellowknife, Atlantic/Bermuda, CST6CDT, EST, EST5EDT, HST, MST, MST7MDT, PST8PDT, Pacific/Honolulu

Downloads/wk

751

GitHub Stars

31

LAST COMMIT

8mos ago

MAINTAINERS

1

CONTRIBUTORS

4

OPEN ISSUES

0

OPEN PRs

0
VersionTagPublished
1.0.30
latest
4mos ago
No alternatives found
No tutorials found
Add a tutorial