Socket
Socket
Sign inDemoInstall

tzdata-etcetera

Package Overview
Dependencies
0
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    tzdata-etcetera

(Part of) the IANA time zone database as a JSON file


Version published
Weekly downloads
372
decreased by-70.57%
Maintainers
1
Install size
5.96 kB
Created
Weekly downloads
 

Readme

Source

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 'etcetera'.

TZ Database Version

2024a

Use

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

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

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

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

License

MIT

Zones in This Module

Etc/GMT, Etc/GMT+1, Etc/GMT+10, Etc/GMT+11, Etc/GMT+12, Etc/GMT+2, Etc/GMT+3, Etc/GMT+4, Etc/GMT+5, Etc/GMT+6, Etc/GMT+7, Etc/GMT+8, Etc/GMT+9, Etc/GMT-1, Etc/GMT-10, Etc/GMT-11, Etc/GMT-12, Etc/GMT-13, Etc/GMT-14, Etc/GMT-2, Etc/GMT-3, Etc/GMT-4, Etc/GMT-5, Etc/GMT-6, Etc/GMT-7, Etc/GMT-8, Etc/GMT-9, Etc/UTC, GMT

FAQs

Last updated on 01 Feb 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc