Skip to content

Commit

Permalink
CLDR-17949 hotfix for random ICU timezone breakage (#4050)
Browse files Browse the repository at this point in the history
  • Loading branch information
srl295 authored and conradarcturus committed Sep 25, 2024
1 parent 8a14c32 commit a83cc99
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 a83cc99

Please sign in to comment.