Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #61

Merged
merged 4 commits into from
May 17, 2023
Merged

Dev #61

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
21 changes: 19 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# exclude diff for specific files
package-lock.json linguist-generated=true -diff
dist/* linguist-generated=true -diff
demo_assets/*/*.min.* linguist-generated=true -diff
*.min.* linguist-generated=true -diff
dist/**/* linguist-generated=true -diff

# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto

# Explicitly declare text files you want to always be normalized and converted
# to native line endings on checkout.
*.c text
*.h text

# Declare files that will always have CRLF line endings on checkout.
*.sln text eol=crlf

# Denote all files that are truly binary and should not be modified.
*.png binary
*.jpg binary
*.ico binary
2 changes: 1 addition & 1 deletion .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": ["stylelint-config-standard", "stylelint-config-prettier"],
"extends": ["stylelint-config-standard"],
"ignoreFiles": ["**/*.min.css"],
"rules": {
"selector-class-pattern": null,
Expand Down
5 changes: 3 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Run ...
sudo sh update-tzdata.sh tzVersionNumber
```

... with _tzVersionNumber_ being the version of the [IANA time zone database](https://www.iana.org/time-zones) you want to use (e.g. sudo sh update-tzdata.sh 2022g).
... with _tzVersionNumber_ being the version of the [IANA time zone database](https://www.iana.org/time-zones) you want to use (e.g. sudo sh update-tzdata.sh 2023c).

<br />

Expand Down Expand Up @@ -172,7 +172,8 @@ Licensed under [Apache-2.0](LICENSE).

![npm version](https://img.shields.io/npm/v/timezones-ical-library?label=current%20version&style=for-the-badge)

- v1.6 : database update
- v1.7 : database update (2023c)
- v1.6 : database update (2022g)
- v1.5 : new dist structure
- v1.4 : further minification via data mapping
- v1.3 : bundle size optimization and API
Expand Down
2 changes: 1 addition & 1 deletion api/Africa/Abidjan.ics
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BEGIN:VTIMEZONE
TZID:/timezones-ical-library/Africa/Abidjan
X-LIC-LOCATION:Africa/Abidjan
LAST-MODIFIED:20230103T195358Z
LAST-MODIFIED:20230517T170335Z
BEGIN:STANDARD
TZNAME:GMT
TZOFFSETFROM:+0000
Expand Down
2 changes: 1 addition & 1 deletion api/Africa/Algiers.ics
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BEGIN:VTIMEZONE
TZID:/timezones-ical-library/Africa/Algiers
X-LIC-LOCATION:Africa/Algiers
LAST-MODIFIED:20230103T195358Z
LAST-MODIFIED:20230517T170335Z
BEGIN:STANDARD
TZNAME:CET
TZOFFSETFROM:+0100
Expand Down
2 changes: 1 addition & 1 deletion api/Africa/Bissau.ics
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BEGIN:VTIMEZONE
TZID:/timezones-ical-library/Africa/Bissau
X-LIC-LOCATION:Africa/Bissau
LAST-MODIFIED:20230103T195358Z
LAST-MODIFIED:20230517T170335Z
BEGIN:STANDARD
TZNAME:GMT
TZOFFSETFROM:+0000
Expand Down
14 changes: 11 additions & 3 deletions api/Africa/Cairo.ics
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
BEGIN:VTIMEZONE
TZID:/timezones-ical-library/Africa/Cairo
X-LIC-LOCATION:Africa/Cairo
LAST-MODIFIED:20230103T195358Z
LAST-MODIFIED:20230517T170335Z
BEGIN:DAYLIGHT
TZNAME:EEST
TZOFFSETFROM:+0200
TZOFFSETTO:+0300
DTSTART:19700424T000000
RRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=-1FR
END:DAYLIGHT
BEGIN:STANDARD
TZNAME:EET
TZOFFSETFROM:+0200
TZOFFSETFROM:+0300
TZOFFSETTO:+0200
DTSTART:19700101T000000
DTSTART:19701030T000000
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1FR
END:STANDARD
END:VTIMEZONE
2 changes: 1 addition & 1 deletion api/Africa/Casablanca.ics
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ BEGIN:VTIMEZONE
TZID:/timezones-ical-library/Africa/Casablanca
TZUNTIL:20870511T020001Z
X-LIC-LOCATION:Africa/Casablanca
LAST-MODIFIED:20230103T195358Z
LAST-MODIFIED:20230517T170335Z
BEGIN:STANDARD
TZNAME:+01
TZOFFSETFROM:+0100
Expand Down
2 changes: 1 addition & 1 deletion api/Africa/Ceuta.ics
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BEGIN:VTIMEZONE
TZID:/timezones-ical-library/Africa/Ceuta
X-LIC-LOCATION:Africa/Ceuta
LAST-MODIFIED:20230103T195358Z
LAST-MODIFIED:20230517T170336Z
BEGIN:DAYLIGHT
TZNAME:CEST
TZOFFSETFROM:+0100
Expand Down
2 changes: 1 addition & 1 deletion api/Africa/El_Aaiun.ics
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ BEGIN:VTIMEZONE
TZID:/timezones-ical-library/Africa/El_Aaiun
TZUNTIL:20870511T020001Z
X-LIC-LOCATION:Africa/El_Aaiun
LAST-MODIFIED:20230103T195358Z
LAST-MODIFIED:20230517T170335Z
BEGIN:STANDARD
TZNAME:+01
TZOFFSETFROM:+0100
Expand Down
2 changes: 1 addition & 1 deletion api/Africa/Johannesburg.ics
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BEGIN:VTIMEZONE
TZID:/timezones-ical-library/Africa/Johannesburg
X-LIC-LOCATION:Africa/Johannesburg
LAST-MODIFIED:20230103T195358Z
LAST-MODIFIED:20230517T170335Z
BEGIN:STANDARD
TZNAME:SAST
TZOFFSETFROM:+0200
Expand Down
2 changes: 1 addition & 1 deletion api/Africa/Juba.ics
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BEGIN:VTIMEZONE
TZID:/timezones-ical-library/Africa/Juba
X-LIC-LOCATION:Africa/Juba
LAST-MODIFIED:20230103T195358Z
LAST-MODIFIED:20230517T170335Z
BEGIN:STANDARD
TZNAME:CAT
TZOFFSETFROM:+0200
Expand Down
2 changes: 1 addition & 1 deletion api/Africa/Khartoum.ics
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BEGIN:VTIMEZONE
TZID:/timezones-ical-library/Africa/Khartoum
X-LIC-LOCATION:Africa/Khartoum
LAST-MODIFIED:20230103T195358Z
LAST-MODIFIED:20230517T170335Z
BEGIN:STANDARD
TZNAME:CAT
TZOFFSETFROM:+0200
Expand Down
2 changes: 1 addition & 1 deletion api/Africa/Lagos.ics
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BEGIN:VTIMEZONE
TZID:/timezones-ical-library/Africa/Lagos
X-LIC-LOCATION:Africa/Lagos
LAST-MODIFIED:20230103T195358Z
LAST-MODIFIED:20230517T170335Z
BEGIN:STANDARD
TZNAME:WAT
TZOFFSETFROM:+0100
Expand Down
2 changes: 1 addition & 1 deletion api/Africa/Maputo.ics
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BEGIN:VTIMEZONE
TZID:/timezones-ical-library/Africa/Maputo
X-LIC-LOCATION:Africa/Maputo
LAST-MODIFIED:20230103T195358Z
LAST-MODIFIED:20230517T170335Z
BEGIN:STANDARD
TZNAME:CAT
TZOFFSETFROM:+0200
Expand Down
2 changes: 1 addition & 1 deletion api/Africa/Monrovia.ics
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BEGIN:VTIMEZONE
TZID:/timezones-ical-library/Africa/Monrovia
X-LIC-LOCATION:Africa/Monrovia
LAST-MODIFIED:20230103T195358Z
LAST-MODIFIED:20230517T170335Z
BEGIN:STANDARD
TZNAME:GMT
TZOFFSETFROM:+0000
Expand Down
2 changes: 1 addition & 1 deletion api/Africa/Nairobi.ics
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BEGIN:VTIMEZONE
TZID:/timezones-ical-library/Africa/Nairobi
X-LIC-LOCATION:Africa/Nairobi
LAST-MODIFIED:20230103T195358Z
LAST-MODIFIED:20230517T170335Z
BEGIN:STANDARD
TZNAME:EAT
TZOFFSETFROM:+0300
Expand Down
2 changes: 1 addition & 1 deletion api/Africa/Ndjamena.ics
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BEGIN:VTIMEZONE
TZID:/timezones-ical-library/Africa/Ndjamena
X-LIC-LOCATION:Africa/Ndjamena
LAST-MODIFIED:20230103T195358Z
LAST-MODIFIED:20230517T170335Z
BEGIN:STANDARD
TZNAME:WAT
TZOFFSETFROM:+0100
Expand Down
2 changes: 1 addition & 1 deletion api/Africa/Sao_Tome.ics
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BEGIN:VTIMEZONE
TZID:/timezones-ical-library/Africa/Sao_Tome
X-LIC-LOCATION:Africa/Sao_Tome
LAST-MODIFIED:20230103T195358Z
LAST-MODIFIED:20230517T170335Z
BEGIN:STANDARD
TZNAME:GMT
TZOFFSETFROM:+0000
Expand Down
2 changes: 1 addition & 1 deletion api/Africa/Tripoli.ics
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BEGIN:VTIMEZONE
TZID:/timezones-ical-library/Africa/Tripoli
X-LIC-LOCATION:Africa/Tripoli
LAST-MODIFIED:20230103T195358Z
LAST-MODIFIED:20230517T170335Z
BEGIN:STANDARD
TZNAME:EET
TZOFFSETFROM:+0200
Expand Down
2 changes: 1 addition & 1 deletion api/Africa/Tunis.ics
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BEGIN:VTIMEZONE
TZID:/timezones-ical-library/Africa/Tunis
X-LIC-LOCATION:Africa/Tunis
LAST-MODIFIED:20230103T195358Z
LAST-MODIFIED:20230517T170335Z
BEGIN:STANDARD
TZNAME:CET
TZOFFSETFROM:+0100
Expand Down
2 changes: 1 addition & 1 deletion api/Africa/Windhoek.ics
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BEGIN:VTIMEZONE
TZID:/timezones-ical-library/Africa/Windhoek
X-LIC-LOCATION:Africa/Windhoek
LAST-MODIFIED:20230103T195358Z
LAST-MODIFIED:20230517T170335Z
BEGIN:STANDARD
TZNAME:CAT
TZOFFSETFROM:+0200
Expand Down
2 changes: 1 addition & 1 deletion api/America/Adak.ics
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BEGIN:VTIMEZONE
TZID:/timezones-ical-library/America/Adak
X-LIC-LOCATION:America/Adak
LAST-MODIFIED:20230103T195358Z
LAST-MODIFIED:20230517T170336Z
BEGIN:DAYLIGHT
TZNAME:HDT
TZOFFSETFROM:-1000
Expand Down
2 changes: 1 addition & 1 deletion api/America/Anchorage.ics
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BEGIN:VTIMEZONE
TZID:/timezones-ical-library/America/Anchorage
X-LIC-LOCATION:America/Anchorage
LAST-MODIFIED:20230103T195358Z
LAST-MODIFIED:20230517T170336Z
BEGIN:DAYLIGHT
TZNAME:AKDT
TZOFFSETFROM:-0900
Expand Down
2 changes: 1 addition & 1 deletion api/America/Araguaina.ics
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BEGIN:VTIMEZONE
TZID:/timezones-ical-library/America/Araguaina
X-LIC-LOCATION:America/Araguaina
LAST-MODIFIED:20230103T195358Z
LAST-MODIFIED:20230517T170336Z
BEGIN:STANDARD
TZNAME:-03
TZOFFSETFROM:-0300
Expand Down
2 changes: 1 addition & 1 deletion api/America/Argentina/Buenos_Aires.ics
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BEGIN:VTIMEZONE
TZID:/timezones-ical-library/America/Argentina/Buenos_Aires
X-LIC-LOCATION:America/Argentina/Buenos_Aires
LAST-MODIFIED:20230103T195358Z
LAST-MODIFIED:20230517T170336Z
BEGIN:STANDARD
TZNAME:-03
TZOFFSETFROM:-0300
Expand Down
2 changes: 1 addition & 1 deletion api/America/Argentina/Catamarca.ics
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BEGIN:VTIMEZONE
TZID:/timezones-ical-library/America/Argentina/Catamarca
X-LIC-LOCATION:America/Argentina/Catamarca
LAST-MODIFIED:20230103T195358Z
LAST-MODIFIED:20230517T170336Z
BEGIN:STANDARD
TZNAME:-03
TZOFFSETFROM:-0300
Expand Down
2 changes: 1 addition & 1 deletion api/America/Argentina/Cordoba.ics
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BEGIN:VTIMEZONE
TZID:/timezones-ical-library/America/Argentina/Cordoba
X-LIC-LOCATION:America/Argentina/Cordoba
LAST-MODIFIED:20230103T195358Z
LAST-MODIFIED:20230517T170336Z
BEGIN:STANDARD
TZNAME:-03
TZOFFSETFROM:-0300
Expand Down
2 changes: 1 addition & 1 deletion api/America/Argentina/Jujuy.ics
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BEGIN:VTIMEZONE
TZID:/timezones-ical-library/America/Argentina/Jujuy
X-LIC-LOCATION:America/Argentina/Jujuy
LAST-MODIFIED:20230103T195358Z
LAST-MODIFIED:20230517T170336Z
BEGIN:STANDARD
TZNAME:-03
TZOFFSETFROM:-0300
Expand Down
2 changes: 1 addition & 1 deletion api/America/Argentina/La_Rioja.ics
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BEGIN:VTIMEZONE
TZID:/timezones-ical-library/America/Argentina/La_Rioja
X-LIC-LOCATION:America/Argentina/La_Rioja
LAST-MODIFIED:20230103T195358Z
LAST-MODIFIED:20230517T170336Z
BEGIN:STANDARD
TZNAME:-03
TZOFFSETFROM:-0300
Expand Down
2 changes: 1 addition & 1 deletion api/America/Argentina/Mendoza.ics
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BEGIN:VTIMEZONE
TZID:/timezones-ical-library/America/Argentina/Mendoza
X-LIC-LOCATION:America/Argentina/Mendoza
LAST-MODIFIED:20230103T195358Z
LAST-MODIFIED:20230517T170336Z
BEGIN:STANDARD
TZNAME:-03
TZOFFSETFROM:-0300
Expand Down
2 changes: 1 addition & 1 deletion api/America/Argentina/Rio_Gallegos.ics
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BEGIN:VTIMEZONE
TZID:/timezones-ical-library/America/Argentina/Rio_Gallegos
X-LIC-LOCATION:America/Argentina/Rio_Gallegos
LAST-MODIFIED:20230103T195358Z
LAST-MODIFIED:20230517T170336Z
BEGIN:STANDARD
TZNAME:-03
TZOFFSETFROM:-0300
Expand Down
2 changes: 1 addition & 1 deletion api/America/Argentina/Salta.ics
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BEGIN:VTIMEZONE
TZID:/timezones-ical-library/America/Argentina/Salta
X-LIC-LOCATION:America/Argentina/Salta
LAST-MODIFIED:20230103T195358Z
LAST-MODIFIED:20230517T170336Z
BEGIN:STANDARD
TZNAME:-03
TZOFFSETFROM:-0300
Expand Down
2 changes: 1 addition & 1 deletion api/America/Argentina/San_Juan.ics
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BEGIN:VTIMEZONE
TZID:/timezones-ical-library/America/Argentina/San_Juan
X-LIC-LOCATION:America/Argentina/San_Juan
LAST-MODIFIED:20230103T195358Z
LAST-MODIFIED:20230517T170336Z
BEGIN:STANDARD
TZNAME:-03
TZOFFSETFROM:-0300
Expand Down
2 changes: 1 addition & 1 deletion api/America/Argentina/San_Luis.ics
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BEGIN:VTIMEZONE
TZID:/timezones-ical-library/America/Argentina/San_Luis
X-LIC-LOCATION:America/Argentina/San_Luis
LAST-MODIFIED:20230103T195358Z
LAST-MODIFIED:20230517T170336Z
BEGIN:STANDARD
TZNAME:-03
TZOFFSETFROM:-0300
Expand Down
2 changes: 1 addition & 1 deletion api/America/Argentina/Tucuman.ics
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BEGIN:VTIMEZONE
TZID:/timezones-ical-library/America/Argentina/Tucuman
X-LIC-LOCATION:America/Argentina/Tucuman
LAST-MODIFIED:20230103T195358Z
LAST-MODIFIED:20230517T170336Z
BEGIN:STANDARD
TZNAME:-03
TZOFFSETFROM:-0300
Expand Down
2 changes: 1 addition & 1 deletion api/America/Argentina/Ushuaia.ics
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BEGIN:VTIMEZONE
TZID:/timezones-ical-library/America/Argentina/Ushuaia
X-LIC-LOCATION:America/Argentina/Ushuaia
LAST-MODIFIED:20230103T195358Z
LAST-MODIFIED:20230517T170336Z
BEGIN:STANDARD
TZNAME:-03
TZOFFSETFROM:-0300
Expand Down
2 changes: 1 addition & 1 deletion api/America/Asuncion.ics
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BEGIN:VTIMEZONE
TZID:/timezones-ical-library/America/Asuncion
X-LIC-LOCATION:America/Asuncion
LAST-MODIFIED:20230103T195358Z
LAST-MODIFIED:20230517T170336Z
BEGIN:DAYLIGHT
TZNAME:-03
TZOFFSETFROM:-0400
Expand Down
2 changes: 1 addition & 1 deletion api/America/Bahia.ics
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BEGIN:VTIMEZONE
TZID:/timezones-ical-library/America/Bahia
X-LIC-LOCATION:America/Bahia
LAST-MODIFIED:20230103T195358Z
LAST-MODIFIED:20230517T170336Z
BEGIN:STANDARD
TZNAME:-03
TZOFFSETFROM:-0300
Expand Down
2 changes: 1 addition & 1 deletion api/America/Bahia_Banderas.ics
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BEGIN:VTIMEZONE
TZID:/timezones-ical-library/America/Bahia_Banderas
X-LIC-LOCATION:America/Bahia_Banderas
LAST-MODIFIED:20230103T195358Z
LAST-MODIFIED:20230517T170336Z
BEGIN:STANDARD
TZNAME:CST
TZOFFSETFROM:-0600
Expand Down
Loading