Skip to content

Commit

Permalink
Downgrade the version of tzdata
Browse files Browse the repository at this point in the history
  • Loading branch information
louischan-oursky committed Feb 22, 2022
1 parent 7d66b01 commit 7788849
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 9 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,9 @@ Various files in this project have versioned dependencies.
- [The dependencies in ./authui/package.json](./authui/package.json)
- [The dependencies in ./portal/package.json](./portal/package.json)
- [The dependencies in ./scripts/npm/package.json](./scripts/npm/package.json)
- Note that you cannot simply upgrade `tzdata` because the version must match that of the server.
- You can find out the server version by going into the container and run `apt list --installed`.
- The version of Debian bullseye is `2021a`, which correspond to `tzdata@v1.0.25`.
- [The intl-tel-input static resources in ./resources/authgear/static](./resources/authgear/static)
- [The tabler static resources in ./resources/authgear/static](./resources/authgear/static)
Expand Down
11 changes: 10 additions & 1 deletion pkg/util/tzutil/names.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ var timezoneNames = []string{
"Africa/Ndjamena",
"Africa/Abidjan",
"Africa/Cairo",
"Africa/Accra",
"Africa/Bissau",
"Africa/Nairobi",
"Africa/Monrovia",
Expand All @@ -30,6 +31,8 @@ var timezoneNames = []string{
"Antarctica/Davis",
"Antarctica/Mawson",
"Indian/Kerguelen",
"Antarctica/DumontDUrville",
"Antarctica/Syowa",
"Antarctica/Troll",
"Antarctica/Vostok",
"Antarctica/Rothera",
Expand Down Expand Up @@ -114,7 +117,7 @@ var timezoneNames = []string{
"Pacific/Tahiti",
"Pacific/Guam",
"Pacific/Tarawa",
"Pacific/Kanton",
"Pacific/Enderbury",
"Pacific/Kiritimati",
"Pacific/Majuro",
"Pacific/Kwajalein",
Expand Down Expand Up @@ -249,17 +252,20 @@ var timezoneNames = []string{
"America/Halifax",
"America/Glace_Bay",
"America/Moncton",
"America/Blanc-Sablon",
"America/Toronto",
"America/Thunder_Bay",
"America/Nipigon",
"America/Rainy_River",
"America/Atikokan",
"America/Winnipeg",
"America/Regina",
"America/Swift_Current",
"America/Edmonton",
"America/Vancouver",
"America/Dawson_Creek",
"America/Fort_Nelson",
"America/Creston",
"America/Pangnirtung",
"America/Iqaluit",
"America/Resolute",
Expand All @@ -280,6 +286,7 @@ var timezoneNames = []string{
"America/Mazatlan",
"America/Bahia_Banderas",
"America/Tijuana",
"America/Nassau",
"America/Barbados",
"America/Belize",
"Atlantic/Bermuda",
Expand Down Expand Up @@ -331,6 +338,7 @@ var timezoneNames = []string{
"Pacific/Easter",
"Antarctica/Palmer",
"America/Bogota",
"America/Curacao",
"America/Guayaquil",
"Pacific/Galapagos",
"Atlantic/Stanley",
Expand All @@ -340,6 +348,7 @@ var timezoneNames = []string{
"America/Lima",
"Atlantic/South_Georgia",
"America/Paramaribo",
"America/Port_of_Spain",
"America/Montevideo",
"America/Caracas",
}
14 changes: 7 additions & 7 deletions scripts/npm/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion scripts/npm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"graphql": "16.3.0",
"luxon": "2.3.0",
"mjml": "4.12.0",
"tzdata": "1.0.29"
"tzdata": "1.0.25"
}
}

0 comments on commit 7788849

Please sign in to comment.