Skip to content

Commit

Permalink
CLDR-17949 hotfix for random ICU timezone breakage
Browse files Browse the repository at this point in the history
  • Loading branch information
srl295 committed Sep 13, 2024
1 parent fec39d6 commit 7e4057b
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2032,6 +2032,10 @@ public void TestMetazones() {
ImmutableSet.of("America/Montreal", "Asia/Barnaul", "Asia/Tomsk", "Europe/Kirov");
for (String timezoneRaw : TimeZone.getAvailableIDs()) {
String timezone = TimeZone.getCanonicalID(timezoneRaw);
if (timezone.equals("Etc/Unknown")) {
System.err.println("CLDR-17949: Skipping " + timezone + " for raw " + timezoneRaw);
continue;
}
String region = TimeZone.getRegion(timezone);
if (!timezone.equals(timezoneRaw) || "001".equals(region)) {
continue;
Expand Down

0 comments on commit 7e4057b

Please sign in to comment.