Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
timezone-data
Advanced tools
This package contains a list of time zones from release 2022b of the IANA tz database.
Data extracted from https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
Note: in order to reduce package size there are some fields that if they don't have a value or they value can be infered from other field they are not included in the JSON list.
The fields in the array are as follows:
tz
: contains the time zone code. Always present.label
: Only present in no deprecated time zones. Time zone Friendly name that can be shown to the user.offsetSTD
: contains the offset from UTC for Standard Time. Always present.offsetDST
: contains the offset from UTC for Daylight Saving Time. Only present if there is a Daylight Saving Time for that time zone, otherwise you can asume its value it's the same as offsetSTD
.tzNameSTD
: contains the time zone name for Standard Time. Always present.tzNameDST
: constains the time zone name for Daylight Saving Time. If it doesn't have Daylight Saving time this field is not returned and you can safely asume it's the same as tzNameSTD
.linkTo
: constains the updated time zone code in case that the tz
is deprecated. This field is only present if the tz
is deprecated.npm install timezone-data --save
# or
yarn add timezone-data
import tz from 'timezone-data';
// or
const tz = require('timezone-data');
These are examples of some entries of the time zone list:
{
"tz": "America/Argentina/Buenos_Aires",
"label": "Argentina Standard Time - Buenos Aires",
"offsetSTD": "-03:00",
"tzNameSTD": "-03"
},
{
"tz": "America/Montreal",
"offsetSTD": "-05:00",
"offsetDST": "-04:00",
"tzNameSTD": "Eastern Standard Time",
"tzNameDST": "Eastern Daylight Time",
"linkTo": "America/Toronto"
},
{
"tz": "America/New_York",
"label": "Eastern Time - New York",
"offsetSTD": "-05:00",
"offsetDST": "-04:00",
"tzNameSTD": "Eastern Standard Time",
"tzNameDST": "Eastern Daylight Time"
},
{
"tz": "America/Toronto",
"label": "Eastern Time - Toronto",
"offsetSTD": "-05:00",
"offsetDST": "-04:00",
"tzNameSTD": "Eastern Standard Time",
"tzNameDST": "Eastern Daylight Time"
},
{
"tz": "Europe/Paris",
"label": "Central European Time - Paris",
"offsetSTD": "+01:00",
"offsetDST": "+02:00",
"tzNameSTD": "Central European Time",
"tzNameDST": "Central European Summer Time"
},
{
"tz": "Asia/Tokyo",
"label": "Japan Standard Time",
"offsetSTD": "+09:00",
"tzNameSTD": "Japanese Standard Time"
},
{
"tz": "Japan",
"offsetSTD": "+09:00",
"tzNameSTD": "Japanese Standard Time",
"linkTo": "Asia/Tokyo"
},
FAQs
This is a list of time zones from release 2022b of the tz database.
The npm package timezone-data receives a total of 47 weekly downloads. As such, timezone-data popularity was classified as not popular.
We found that timezone-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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.