diff --git a/classlib/src/main/java/org/teavm/classlib/impl/tz/TimeZoneGenerator.java b/classlib/src/main/java/org/teavm/classlib/impl/tz/TimeZoneGenerator.java index 4656d476f..5cd68e67b 100644 --- a/classlib/src/main/java/org/teavm/classlib/impl/tz/TimeZoneGenerator.java +++ b/classlib/src/main/java/org/teavm/classlib/impl/tz/TimeZoneGenerator.java @@ -41,7 +41,7 @@ public class TimeZoneGenerator implements MetadataGenerator { if (entry == null) { break; } - switch (entry.getName().substring(("tzdata" + TIMEZONE_DB_VERSION + "/").length())) { + switch (entry.getName()) { case "africa": case "antarctica": case "asia":