Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
iana-tz-data
Advanced tools
Unofficial JSON distribution of zdumped IANA timezone data.
It should be noted that a tabuar text file (not JSON) is the "official" format for the IANA timezone data. The JSON data contained in this package is provided as a convenience for the development community, and is programatically generated from the corresponding text files using the JSON conversion utility provided here.
No code other than the conversion utility is included.
The official data has additional information and has a different structure than what's distributed here. The official data has Zones and Rules
A JSON representation of the timezone transitions (actually, the output of zdump -v
) for every timezone ids, which is what moment-timezone, globalize, and perhaps other JavaScript library use to calculate a date in a specific timezone ids. The structure looks like the below.
{
"zoneData": {
...
"America": {
...
"New_York": {
abbrs: [],
untils: [],
offsets: []
}
...
}
}
}
Latest official release is version 2017a, published on 2017-02-28.
Installation using NPM:
npm install --save iana-tz-data
We follow a semver corresponding version based on the official version. The major version corresponds to the year and the minor corresponds to the letter. The patch version is independent and used for any necessary package fixes.
Official version | Our corresponding semver version |
---|---|
2017a | 2017.0 |
On your application, you can access IANA timezone JSON data by importing the "iana-tz-data"
module.
import IANATimezoneData from "iana-tz-data";
MIT © Rafael Xavier de Souza
FAQs
Npm module for IANA unofficial JSON data
The npm package iana-tz-data receives a total of 9,579 weekly downloads. As such, iana-tz-data popularity was classified as popular.
We found that iana-tz-data demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.