Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/org/jruby/RubyTime.java
Original file line number Diff line number Diff line change
@@ -200,7 +200,7 @@ private static DateTimeZone parseTZString(Ruby runtime, String zone) {
try {
return DateTimeZone.forID(zone);
} catch (IllegalArgumentException e) {
runtime.getWarnings().warn("Unrecognized time zone: "+zone);
runtime.getWarnings().warning("Unrecognized time zone: "+zone);
return DateTimeZone.UTC;
}
}

0 comments on commit 7fe7ec3

Please sign in to comment.