Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@touch4it/ical-timezones

Package Overview
Dependencies
Maintainers
3
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@touch4it/ical-timezones - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

5

CHANGELOG.md
# ical-timezone Changelog
## 1.1.0 (2019-12-06)
- Added time zones abbreviations
- Added "space" aliases for "underscore" timezones
## 1.0.0 (2019-12-02)

@@ -4,0 +9,0 @@

7

package.json
{
"name": "@touch4it/ical-timezones",
"version": "1.0.0",
"version": "1.1.0",
"description": "iCal timezone component generator",

@@ -22,6 +22,9 @@ "homepage": "https://github.com/touch4it/ical-timezones",

"timezone",
"time zone",
"vtimezone",
"RFC5545",
"RFC 5545",
"generator"
"generator",
"time",
"zone"
],

@@ -28,0 +31,0 @@ "author": "Touch4IT, s.r.o. <hi@touch4it.com> (https://touch4it.com/)",

@@ -1,5 +0,11 @@

# RFC 5545 VTIMEZONE iCalendar component generator
# VTIMEZONE iCalendar component generator
Library to generate VTIMEZONE iCalendar component
[![GitHub license](https://img.shields.io/badge/license-ISC-blue.svg)](https://github.com/touch4it/ical-timezones/blob/master/lib/LICENSE.md)
[![npm version](https://img.shields.io/npm/v/@touch4it/ical-timezones)](https://www.npmjs.com/package/@touch4it/ical-timezones)
[![node version](https://img.shields.io/node/v/@touch4it/ical-timezones)](https://www.npmjs.com/package/@touch4it/ical-timezones)
[![vulnerabilities](https://img.shields.io/snyk/vulnerabilities/npm/@touch4it/ical-timezones)](https://www.npmjs.com/package/@touch4it/ical-timezones)
[![last commit](https://img.shields.io/github/last-commit/touch4it/ical-timezones)](https://github.com/touch4it/ical-timezones)
Library to generate RFC 5545 VTIMEZONE iCalendar component
## Usage

@@ -23,2 +29,30 @@

Generated output
```
BEGIN:VCALENDAR
PRODID:-//tzurl.org//NONSGML Olson 2018g-rearguard//EN
VERSION:2.0
BEGIN:VTIMEZONE
TZID:Europe/Bratislava
TZURL:http://tzurl.org/zoneinfo-outlook/Europe/Bratislava
X-LIC-LOCATION:Europe/Bratislava
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
TZNAME:CEST
DTSTART:19700329T020000
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
TZNAME:CET
DTSTART:19701025T030000
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
END:STANDARD
END:VTIMEZONE
END:VCALENDAR
```
## Data sources

@@ -30,1 +64,3 @@

http://www.healthstream.com/hlchelp/Administrator/Classes/HLC_Time_Zone_Abbreviations.htm

@@ -1,2 +0,2 @@

const app = require('../index')
const app = require('../index');

@@ -3,0 +3,0 @@ const expected = `BEGIN:VCALENDAR\r

@@ -5,2 +5,3 @@ module.exports = {

'Africa/Addis_Ababa': 'Africa/Addis_Ababa.ics',
'Africa/Addis Ababa': 'Africa/Addis_Ababa.ics',
'Africa/Algiers': 'Africa/Algiers.ics',

@@ -21,5 +22,7 @@ 'Africa/Asmara': 'Africa/Asmara.ics',

'Africa/Dar_es_Salaam': 'Africa/Dar_es_Salaam.ics',
'Africa/Dar es_Salaam': 'Africa/Dar_es_Salaam.ics',
'Africa/Djibouti': 'Africa/Djibouti.ics',
'Africa/Douala': 'Africa/Douala.ics',
'Africa/El_Aaiun': 'Africa/El_Aaiun.ics',
'Africa/El Aaiun': 'Africa/El_Aaiun.ics',
'Africa/Freetown': 'Africa/Freetown.ics',

@@ -53,2 +56,3 @@ 'Africa/Gaborone': 'Africa/Gaborone.ics',

'Africa/Sao_Tome': 'Africa/Sao_Tome.ics',
'Africa/Sao Tome': 'Africa/Sao_Tome.ics',
'Africa/Tripoli': 'Africa/Tripoli.ics',

@@ -63,2 +67,3 @@ 'Africa/Tunis': 'Africa/Tunis.ics',

'America/Argentina/Buenos_Aires': 'America/Argentina/Buenos_Aires.ics',
'America/Argentina/Buenos Aires': 'America/Argentina/Buenos_Aires.ics',
'America/Argentina/Catamarca': 'America/Argentina/Catamarca.ics',

@@ -68,7 +73,11 @@ 'America/Argentina/Cordoba': 'America/Argentina/Cordoba.ics',

'America/Argentina/La_Rioja': 'America/Argentina/La_Rioja.ics',
'America/Argentina/La Rioja': 'America/Argentina/La_Rioja.ics',
'America/Argentina/Mendoza': 'America/Argentina/Mendoza.ics',
'America/Argentina/Rio_Gallegos': 'America/Argentina/Rio_Gallegos.ics',
'America/Argentina/Rio Gallegos': 'America/Argentina/Rio_Gallegos.ics',
'America/Argentina/Salta': 'America/Argentina/Salta.ics',
'America/Argentina/San_Juan': 'America/Argentina/San_Juan.ics',
'America/Argentina/San Juan': 'America/Argentina/San_Juan.ics',
'America/Argentina/San_Luis': 'America/Argentina/San_Luis.ics',
'America/Argentina/San Luis': 'America/Argentina/San_Luis.ics',
'America/Argentina/Tucuman': 'America/Argentina/Tucuman.ics',

@@ -80,2 +89,3 @@ 'America/Argentina/Ushuaia': 'America/Argentina/Ushuaia.ics',

'America/Bahia_Banderas': 'America/Bahia_Banderas.ics',
'America/Bahia Banderas': 'America/Bahia_Banderas.ics',
'America/Bahia': 'America/Bahia.ics',

@@ -87,6 +97,9 @@ 'America/Barbados': 'America/Barbados.ics',

'America/Boa_Vista': 'America/Boa_Vista.ics',
'America/Boa Vista': 'America/Boa_Vista.ics',
'America/Bogota': 'America/Bogota.ics',
'America/Boise': 'America/Boise.ics',
'America/Cambridge_Bay': 'America/Cambridge_Bay.ics',
'America/Cambridge Bay': 'America/Cambridge_Bay.ics',
'America/Campo_Grande': 'America/Campo_Grande.ics',
'America/Campo Grande': 'America/Campo_Grande.ics',
'America/Cancun': 'America/Cancun.ics',

@@ -99,2 +112,3 @@ 'America/Caracas': 'America/Caracas.ics',

'America/Costa_Rica': 'America/Costa_Rica.ics',
'America/Costa Rica': 'America/Costa_Rica.ics',
'America/Creston': 'America/Creston.ics',

@@ -105,2 +119,3 @@ 'America/Cuiaba': 'America/Cuiaba.ics',

'America/Dawson_Creek': 'America/Dawson_Creek.ics',
'America/Dawson Creek': 'America/Dawson_Creek.ics',
'America/Dawson': 'America/Dawson.ics',

@@ -113,8 +128,13 @@ 'America/Denver': 'America/Denver.ics',

'America/El_Salvador': 'America/El_Salvador.ics',
'America/El Salvador': 'America/El_Salvador.ics',
'America/Fort_Nelson': 'America/Fort_Nelson.ics',
'America/Fort Nelson': 'America/Fort_Nelson.ics',
'America/Fortaleza': 'America/Fortaleza.ics',
'America/Glace_Bay': 'America/Glace_Bay.ics',
'America/Glace Bay': 'America/Glace_Bay.ics',
'America/Godthab': 'America/Godthab.ics',
'America/Goose_Bay': 'America/Goose_Bay.ics',
'America/Goose Bay': 'America/Goose_Bay.ics',
'America/Grand_Turk': 'America/Grand_Turk.ics',
'America/Grand Turk': 'America/Grand_Turk.ics',
'America/Grenada': 'America/Grenada.ics',

@@ -133,2 +153,3 @@ 'America/Guadeloupe': 'America/Guadeloupe.ics',

'America/Indiana/Tell_City': 'America/Indiana/Tell_City.ics',
'America/Indiana/Tell City': 'America/Indiana/Tell_City.ics',
'America/Indiana/Vevay': 'America/Indiana/Vevay.ics',

@@ -145,5 +166,8 @@ 'America/Indiana/Vincennes': 'America/Indiana/Vincennes.ics',

'America/La_Paz': 'America/La_Paz.ics',
'America/La Paz': 'America/La_Paz.ics',
'America/Lima': 'America/Lima.ics',
'America/Los_Angeles': 'America/Los_Angeles.ics',
'America/Los Angeles': 'America/Los_Angeles.ics',
'America/Lower_Princes': 'America/Lower_Princes.ics',
'America/Lower Princes': 'America/Lower_Princes.ics',
'America/Maceio': 'America/Maceio.ics',

@@ -160,2 +184,3 @@ 'America/Managua': 'America/Managua.ics',

'America/Mexico_City': 'America/Mexico_City.ics',
'America/Mexico City': 'America/Mexico_City.ics',
'America/Miquelon': 'America/Miquelon.ics',

@@ -168,2 +193,3 @@ 'America/Moncton': 'America/Moncton.ics',

'America/New_York': 'America/New_York.ics',
'America/New York': 'America/New_York.ics',
'America/Nipigon': 'America/Nipigon.ics',

@@ -173,4 +199,7 @@ 'America/Nome': 'America/Nome.ics',

'America/North_Dakota/Beulah': 'America/North_Dakota/Beulah.ics',
'America/North Dakota/Beulah': 'America/North_Dakota/Beulah.ics',
'America/North_Dakota/Center': 'America/North_Dakota/Center.ics',
'America/North Dakota/Center': 'America/North_Dakota/Center.ics',
'America/North_Dakota/New_Salem': 'America/North_Dakota/New_Salem.ics',
'America/North Dakota/New_Salem': 'America/North_Dakota/New_Salem.ics',
'America/Ojinaga': 'America/Ojinaga.ics',

@@ -182,8 +211,14 @@ 'America/Panama': 'America/Panama.ics',

'America/Port_of_Spain': 'America/Port_of_Spain.ics',
'America/Port of_Spain': 'America/Port_of_Spain.ics',
'America/Port-au-Prince': 'America/Port-au-Prince.ics',
'America/Porto_Velho': 'America/Porto_Velho.ics',
'America/Porto Velho': 'America/Porto_Velho.ics',
'America/Puerto_Rico': 'America/Puerto_Rico.ics',
'America/Puerto Rico': 'America/Puerto_Rico.ics',
'America/Punta_Arenas': 'America/Punta_Arenas.ics',
'America/Punta Arenas': 'America/Punta_Arenas.ics',
'America/Rainy_River': 'America/Rainy_River.ics',
'America/Rainy River': 'America/Rainy_River.ics',
'America/Rankin_Inlet': 'America/Rankin_Inlet.ics',
'America/Rankin Inlet': 'America/Rankin_Inlet.ics',
'America/Recife': 'America/Recife.ics',

@@ -193,18 +228,29 @@ 'America/Regina': 'America/Regina.ics',

'America/Rio_Branco': 'America/Rio_Branco.ics',
'America/Rio Branco': 'America/Rio_Branco.ics',
'America/Santarem': 'America/Santarem.ics',
'America/Santiago': 'America/Santiago.ics',
'America/Santo_Domingo': 'America/Santo_Domingo.ics',
'America/Santo Domingo': 'America/Santo_Domingo.ics',
'America/Sao_Paulo': 'America/Sao_Paulo.ics',
'America/Sao Paulo': 'America/Sao_Paulo.ics',
'America/Scoresbysund': 'America/Scoresbysund.ics',
'America/Sitka': 'America/Sitka.ics',
'America/St_Barthelemy': 'America/St_Barthelemy.ics',
'America/St Barthelemy': 'America/St_Barthelemy.ics',
'America/St_Johns': 'America/St_Johns.ics',
'America/St Johns': 'America/St_Johns.ics',
'America/St_Kitts': 'America/St_Kitts.ics',
'America/St Kitts': 'America/St_Kitts.ics',
'America/St_Lucia': 'America/St_Lucia.ics',
'America/St Lucia': 'America/St_Lucia.ics',
'America/St_Thomas': 'America/St_Thomas.ics',
'America/St Thomas': 'America/St_Thomas.ics',
'America/St_Vincent': 'America/St_Vincent.ics',
'America/St Vincent': 'America/St_Vincent.ics',
'America/Swift_Current': 'America/Swift_Current.ics',
'America/Swift Current': 'America/Swift_Current.ics',
'America/Tegucigalpa': 'America/Tegucigalpa.ics',
'America/Thule': 'America/Thule.ics',
'America/Thunder_Bay': 'America/Thunder_Bay.ics',
'America/Thunder Bay': 'America/Thunder_Bay.ics',
'America/Tijuana': 'America/Tijuana.ics',

@@ -258,3 +304,5 @@ 'America/Toronto': 'America/Toronto.ics',

'Asia/Ho_Chi_Minh': 'Asia/Ho_Chi_Minh.ics',
'Asia/Ho Chi_Minh': 'Asia/Ho_Chi_Minh.ics',
'Asia/Hong_Kong': 'Asia/Hong_Kong.ics',
'Asia/Hong Kong': 'Asia/Hong_Kong.ics',
'Asia/Hovd': 'Asia/Hovd.ics',

@@ -274,2 +322,3 @@ 'Asia/Irkutsk': 'Asia/Irkutsk.ics',

'Asia/Kuala_Lumpur': 'Asia/Kuala_Lumpur.ics',
'Asia/Kuala Lumpur': 'Asia/Kuala_Lumpur.ics',
'Asia/Kuching': 'Asia/Kuching.ics',

@@ -288,2 +337,3 @@ 'Asia/Kuwait': 'Asia/Kuwait.ics',

'Asia/Phnom_Penh': 'Asia/Phnom_Penh.ics',
'Asia/Phnom Penh': 'Asia/Phnom_Penh.ics',
'Asia/Pontianak': 'Asia/Pontianak.ics',

@@ -320,2 +370,3 @@ 'Asia/Pyongyang': 'Asia/Pyongyang.ics',

'Atlantic/Cape_Verde': 'Atlantic/Cape_Verde.ics',
'Atlantic/Cape Verde': 'Atlantic/Cape_Verde.ics',
'Atlantic/Faroe': 'Atlantic/Faroe.ics',

@@ -325,3 +376,5 @@ 'Atlantic/Madeira': 'Atlantic/Madeira.ics',

'Atlantic/South_Georgia': 'Atlantic/South_Georgia.ics',
'Atlantic/South Georgia': 'Atlantic/South_Georgia.ics',
'Atlantic/St_Helena': 'Atlantic/St_Helena.ics',
'Atlantic/St Helena': 'Atlantic/St_Helena.ics',
'Atlantic/Stanley': 'Atlantic/Stanley.ics',

@@ -331,2 +384,3 @@ 'Australia/Adelaide': 'Australia/Adelaide.ics',

'Australia/Broken_Hill': 'Australia/Broken_Hill.ics',
'Australia/Broken Hill': 'Australia/Broken_Hill.ics',
'Australia/Currie': 'Australia/Currie.ics',

@@ -338,2 +392,3 @@ 'Australia/Darwin': 'Australia/Darwin.ics',

'Australia/Lord_Howe': 'Australia/Lord_Howe.ics',
'Australia/Lord Howe': 'Australia/Lord_Howe.ics',
'Australia/Melbourne': 'Australia/Melbourne.ics',

@@ -431,2 +486,3 @@ 'Australia/Perth': 'Australia/Perth.ics',

'Europe/Isle_of_Man': 'Europe/Isle_of_Man.ics',
'Europe/Isle of_Man': 'Europe/Isle_of_Man.ics',
'Europe/Istanbul': 'Europe/Istanbul.ics',

@@ -456,2 +512,3 @@ 'Europe/Jersey': 'Europe/Jersey.ics',

'Europe/San_Marino': 'Europe/San_Marino.ics',
'Europe/San Marino': 'Europe/San_Marino.ics',
'Europe/Sarajevo': 'Europe/Sarajevo.ics',

@@ -518,2 +575,3 @@ 'Europe/Saratov': 'Europe/Saratov.ics',

'Pacific/Pago_Pago': 'Pacific/Pago_Pago.ics',
'Pacific/Pago Pago': 'Pacific/Pago_Pago.ics',
'Pacific/Palau': 'Pacific/Palau.ics',

@@ -523,2 +581,3 @@ 'Pacific/Pitcairn': 'Pacific/Pitcairn.ics',

'Pacific/Port_Moresby': 'Pacific/Port_Moresby.ics',
'Pacific/Port Moresby': 'Pacific/Port_Moresby.ics',
'Pacific/Rarotonga': 'Pacific/Rarotonga.ics',

@@ -602,3 +661,107 @@ 'Pacific/Saipan': 'Pacific/Saipan.ics',

'New Zealand Standard Time': 'Etc/GMT+12.ics',
'Tonga Standard Time': 'Etc/GMT+13.ics'
'Tonga Standard Time': 'Etc/GMT+13.ics',
'Asia/Calcutta': 'Asia/Kolkata.ics',
'Asia/Katmandu': 'Nepal Time.ics',
'Asia/Rangoon': 'Asia/Yangon.ics',
'America/Buenos Aires': 'America/Argentina/Buenos_Aires.ics',
'Canada/Atlantic': 'America/Aruba.ics',
'Canada/Newfoundland': 'Newfoundland Standard Time.ics',
'Canada/Saskatchewan': 'undefined',
'US/Eastern': 'America/New_York.ics',
'US/Central': 'America/Chicago.ics',
'US/Mountain': 'America/Denver.ics',
'US/Pacific': 'America/Los_Angeles.ics',
'US/Arizona': 'America/Phoenix.ics',
'US/East-Indiana': 'America/Halifax.ics',
ET: 'America/New_York.ics',
CT: 'America/Chicago.ics',
MT: 'America/Denver.ics',
PT: 'America/Los_Angeles.ics',
AK: 'America/Anchorage.ics',
HAST: 'Pacific/Honolulu.ics',
MST: 'America/Phoenix.ics',
AST: 'America/Aruba.ics',
MOST: 'Africa/Casablanca.ics',
GST: 'Africa/Casablanca.ics',
WET: 'Europe/Amsterdam.ics',
CET: 'Europe/Belgrade.ics',
RST: 'Europe/Copenhagen.ics',
CEST: 'Europe/Sarajevo.ics',
ECT: 'Africa/Douala.ics',
JST: 'Europe/Bucharest.ics',
GTBST: 'Europe/Bucharest.ics',
MEST: 'Africa/Cairo.ics',
EGST: 'Africa/Cairo.ics',
SST: 'Africa/Cairo.ics',
SAST: 'Africa/Harare.ics',
EET: 'Europe/Helsinki.ics',
ISST: 'Asia/Jerusalem.ics',
EEST: 'Asia/Jerusalem.ics',
NMST: 'Asia/Jerusalem.ics',
ARST: 'Asia/Baghdad.ics',
ABST: 'Asia/Kuwait.ics',
MSK: 'Europe/Moscow.ics',
EAT: 'Asia/Kuwait.ics',
IRST: 'Asia/Tehran.ics',
ARBST: 'Asia/Muscat.ics',
AZT: 'Asia/Baku.ics',
MUT: 'Asia/Baku.ics',
GET: 'Asia/Baku.ics',
AMT: 'Asia/Baku.ics',
AFT: 'Asia/Baku.ics',
YEKT: 'Asia/Yekaterinburg.ics',
PKT: 'Asia/Karachi.ics',
WAST: 'Asia/Yekaterinburg.ics',
IST: 'Asia/Kolkata.ics',
SLT: 'Asia/Kolkata.ics',
NPT: 'Nepal Time.ics',
BTT: 'Asia/Dhaka.ics',
BST: 'Asia/Dhaka.ics',
NCAST: 'Asia/Dhaka.ics',
MYST: 'Asia/Yangon.ics',
THA: 'Asia/Yangon.ics',
KRAT: 'Asia/Yangon.ics',
IRKT: 'Asia/Irkutsk.ics',
SNST: 'Asia/Taipei.ics',
AWST: 'Australia/Perth.ics',
TIST: 'Asia/Taipei.ics',
UST: 'Asia/Taipei.ics',
TST: 'Asia/Tokyo.ics',
KST: 'Asia/Seoul.ics',
YAKT: 'Asia/Yakutsk.ics',
CAUST: 'Australia/Adelaide.ics',
ACST: 'Australia/Darwin.ics',
EAST: 'Australia/Brisbane.ics',
AEST: 'Australia/Sydney.ics',
WPST: 'Pacific/Guam.ics',
TAST: 'Australia/Hobart.ics',
VLAT: 'Asia/Vladivostok.ics',
SBT: 'Pacific/Guadalcanal.ics',
NZST: 'Pacific/Auckland.ics',
UTC12: 'Etc/GMT-12.ics',
FJT: 'Pacific/Fiji.ics',
PETT: 'Etc/GMT+12.ics',
PHOT: 'Pacific/Tongatapu.ics',
AZOST: 'Atlantic/Azores.ics',
CVT: 'Atlantic/Cape_Verde.ics',
ESAST: 'America/Sao_Paulo.ics',
ART: 'America/Argentina/Buenos_Aires.ics',
SAEST: 'Etc/GMT-3.ics',
GNST: 'America/Godthab.ics',
MVST: 'America/Montevideo.ics',
NST: 'Newfoundland Standard Time.ics',
PRST: 'America/Aruba.ics',
CBST: 'America/Aruba.ics',
SAWST: 'America/Santiago.ics',
PSAST: 'America/Santiago.ics',
VST: 'America/Caracas.ics',
SAPST: 'America/Bogota.ics',
EST: 'America/Halifax.ics',
CAST: 'America/Mexico_City.ics',
CST: 'America/Mexico_City.ics',
CCST: 'undefined',
MSTM: 'America/Mazatlan.ics',
PST: 'America/Los_Angeles.ics',
SMST: 'Pacific/Midway.ics',
BIT: 'Etc/GMT+12.ics'
};
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc