Skip to content

Commit b14ee2e

Browse files
committed
#875 Refresh timezone list
1 parent cf299e9 commit b14ee2e

File tree

3 files changed

+18
-6
lines changed

3 files changed

+18
-6
lines changed

src/docs/asciidoc/release_notes.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ It may also prevent (or reduce occurrences of) truncation of "`explained plans`"
5252
* Improvement: backported inline blob support (Firebird 5.0.3 and higher) from Jaybird 7 (https://github.com/FirebirdSQL/jaybird/issues/871[#871])
5353
+
5454
See also <<blob-performance-inline-blob>>.
55+
* Improvement: The time zone mapping was updated (https://github.com/FirebirdSQL/jaybird/issues/875[#875])
56+
** The following time zone ids were added: `64901` => `Pacific/Kanton`, `64900` => `Europe/Kyiv`, `64899` => `America/Ciudad_Juarez`, `64898` => `GMT-03:00` (should be `America/Coyhaique`, but that zone name is not yet known in Java)
57+
** Time zone id `64903` is now mapped to `America/Nuuk`;
58+
previously it was mapped to `America/Godthab` as older versions of Java did not know `America/Nuuk`.
5559
5660
[#jaybird-5-0-7-changelog]
5761
=== Jaybird 5.0.7

src/resources/org/firebirdsql/gds/ng/tz/firebird_time_zone_mapping.properties

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
# followed by a number of mapping fixes (see inline comments below)
2222

2323
# Lowest Firebird time zone id in this file
24-
min_zone_id = 64902
24+
min_zone_id = 64898
2525
65535 = GMT
2626
65534 = ACT
2727
65533 = AET
@@ -658,6 +658,10 @@ min_zone_id = 64902
658658
64906 = W-SU
659659
64905 = WET
660660
64904 = Zulu
661-
# Was "America/Nuuk", not supported, see https://www.localeplanet.com/icu/en-GB/timezone.html
662-
64903 = America/Godthab
663-
64902 = Asia/Qostanay
661+
64903 = America/Nuuk
662+
64902 = Asia/Qostanay
663+
64901 = Pacific/Kanton
664+
64900 = Europe/Kyiv
665+
64899 = America/Ciudad_Juarez
666+
# Was "America/Coyhaique", not (yet) supported, see https://en.wikipedia.org/wiki/Coyhaique
667+
64898 = GMT-3

src/test/org/firebirdsql/gds/ng/tz/TimeZoneByNameMappingTest.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -684,8 +684,12 @@ static Stream<Arguments> getTestCases() {
684684
testCase(64906, "W-SU"),
685685
testCase(64905, "WET"),
686686
testCase(64904, "Zulu"),
687-
testCase(64903, "America/Godthab", "America/Godthab", 65414), // was America/Nuuk (see also TimeZoneMapping)
688-
testCase(64902, "Asia/Qostanay")
687+
testCase(64903, "America/Nuuk"),
688+
testCase(64902, "Asia/Qostanay"),
689+
testCase(64901, "Pacific/Kanton"),
690+
testCase(64900, "Europe/Kyiv"),
691+
testCase(64899, "America/Ciudad_Juarez"),
692+
testCase(64898, "GMT-03:00", "GMT-03:00", 1439) // was America/Coyhaique (see also TimeZoneMapping)
689693
);
690694
}
691695

0 commit comments

Comments
 (0)