Skip to content

Commit 7788849

Browse files
Downgrade the version of tzdata
1 parent 7d66b01 commit 7788849

File tree

4 files changed

+21
-9
lines changed

4 files changed

+21
-9
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,9 @@ Various files in this project have versioned dependencies.
298298
- [The dependencies in ./authui/package.json](./authui/package.json)
299299
- [The dependencies in ./portal/package.json](./portal/package.json)
300300
- [The dependencies in ./scripts/npm/package.json](./scripts/npm/package.json)
301+
- Note that you cannot simply upgrade `tzdata` because the version must match that of the server.
302+
- You can find out the server version by going into the container and run `apt list --installed`.
303+
- The version of Debian bullseye is `2021a`, which correspond to `tzdata@v1.0.25`.
301304
- [The intl-tel-input static resources in ./resources/authgear/static](./resources/authgear/static)
302305
- [The tabler static resources in ./resources/authgear/static](./resources/authgear/static)
303306

pkg/util/tzutil/names.go

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ var timezoneNames = []string{
99
"Africa/Ndjamena",
1010
"Africa/Abidjan",
1111
"Africa/Cairo",
12+
"Africa/Accra",
1213
"Africa/Bissau",
1314
"Africa/Nairobi",
1415
"Africa/Monrovia",
@@ -30,6 +31,8 @@ var timezoneNames = []string{
3031
"Antarctica/Davis",
3132
"Antarctica/Mawson",
3233
"Indian/Kerguelen",
34+
"Antarctica/DumontDUrville",
35+
"Antarctica/Syowa",
3336
"Antarctica/Troll",
3437
"Antarctica/Vostok",
3538
"Antarctica/Rothera",
@@ -114,7 +117,7 @@ var timezoneNames = []string{
114117
"Pacific/Tahiti",
115118
"Pacific/Guam",
116119
"Pacific/Tarawa",
117-
"Pacific/Kanton",
120+
"Pacific/Enderbury",
118121
"Pacific/Kiritimati",
119122
"Pacific/Majuro",
120123
"Pacific/Kwajalein",
@@ -249,17 +252,20 @@ var timezoneNames = []string{
249252
"America/Halifax",
250253
"America/Glace_Bay",
251254
"America/Moncton",
255+
"America/Blanc-Sablon",
252256
"America/Toronto",
253257
"America/Thunder_Bay",
254258
"America/Nipigon",
255259
"America/Rainy_River",
260+
"America/Atikokan",
256261
"America/Winnipeg",
257262
"America/Regina",
258263
"America/Swift_Current",
259264
"America/Edmonton",
260265
"America/Vancouver",
261266
"America/Dawson_Creek",
262267
"America/Fort_Nelson",
268+
"America/Creston",
263269
"America/Pangnirtung",
264270
"America/Iqaluit",
265271
"America/Resolute",
@@ -280,6 +286,7 @@ var timezoneNames = []string{
280286
"America/Mazatlan",
281287
"America/Bahia_Banderas",
282288
"America/Tijuana",
289+
"America/Nassau",
283290
"America/Barbados",
284291
"America/Belize",
285292
"Atlantic/Bermuda",
@@ -331,6 +338,7 @@ var timezoneNames = []string{
331338
"Pacific/Easter",
332339
"Antarctica/Palmer",
333340
"America/Bogota",
341+
"America/Curacao",
334342
"America/Guayaquil",
335343
"Pacific/Galapagos",
336344
"Atlantic/Stanley",
@@ -340,6 +348,7 @@ var timezoneNames = []string{
340348
"America/Lima",
341349
"Atlantic/South_Georgia",
342350
"America/Paramaribo",
351+
"America/Port_of_Spain",
343352
"America/Montevideo",
344353
"America/Caracas",
345354
}

scripts/npm/package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/npm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
"graphql": "16.3.0",
1212
"luxon": "2.3.0",
1313
"mjml": "4.12.0",
14-
"tzdata": "1.0.29"
14+
"tzdata": "1.0.25"
1515
}
1616
}

0 commit comments

Comments
 (0)