java.lang.IllegalArgumentException: The datetime zone id 'CDT' is not recognised

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by headius
, 1 year ago
The datetime zone id 'CDT' is not recognised
via GitHub by arminha
, 1 year ago
The datetime zone id 'Arctic/Longyearbyen' is not recognised
via Atlassian JIRA by Guilherme Heck [Atlassian], 1 year ago
The datetime zone id is not recognised: Central Standard Time
java.lang.IllegalArgumentException: The datetime zone id 'CDT' is not recognised
at org.joda.time.DateTimeZone.forID(DateTimeZone.java:229)
at org.jruby.RubyTime.parseTZString(RubyTime.java:208)
at org.jruby.RubyTime.parseZoneString(RubyTime.java:230)
at org.jruby.RubyTime.getTimeZoneFromString(RubyTime.java:222)
at org.jruby.RubyTime.createTime(RubyTime.java:1373)
at org.jruby.RubyTime.new_local(RubyTime.java:1172)
at org.jruby.RubyTime$INVOKER$s$0$9$new_local.call(RubyTime$INVOKER$s$0$9$new_local.gen)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:283)

Users with the same issue

2 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.