Skip to content

Commit

Permalink
CLDR-17949 hotfix for random ICU timezone breakage (unicode-org#4050)
Browse files Browse the repository at this point in the history
  • Loading branch information
srl295 authored and haytenf committed Sep 17, 2024
1 parent 5e050f5 commit 5590f33
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 5590f33

Please sign in to comment.