tzdata-backward-utc
v1.0.42
Published
(Part of) the IANA time zone database as a JSON file
Downloads
5,534
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 'backward' that are old synonyms for Etc/UTC or Etc/GMT.
This module has peer dependency tzdata-etcetera, because the data in this module has links to zones in those modules.
TZ Database Version
2024b
Use
In Node.JS, to get at the JSON data, simply do:
var jsonData = require('tzdata-backward-utc');
In a browser, use the bundled UMD module provided in tzdata-backward-utc.js.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>tzdata-backward-utc example</title>
<script src="./tzdata-backward-utc.js"></script>
<script>
function onLoad() {
var data = tzdataBackwardUtc;
}
</script>
</head>
<body onLoad="onLoad()">
</body>
</html>
License
MIT
Zones in This Module
GMT+0, GMT-0, GMT0, Greenwich, UCT, UTC, Universal