From 5d9d64303e2ef164f0ea04d46378c76b37b68dea Mon Sep 17 00:00:00 2001 From: Alexey Andreev Date: Thu, 18 Mar 2021 13:03:55 +0300 Subject: [PATCH] Fix tzdata parser --- .../main/java/org/teavm/classlib/impl/tz/TimeZoneGenerator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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":