Skip to content
This repository has been archived by the owner on May 30, 2019. It is now read-only.

IllegalFieldValueException due to daylight savings time? #163

Open
gnardari opened this issue Oct 16, 2016 · 0 comments
Open

IllegalFieldValueException due to daylight savings time? #163

gnardari opened this issue Oct 16, 2016 · 0 comments

Comments

@gnardari
Copy link
Contributor

Hey all,
I'm running some tests and got this error. Any idea what it might be? I'm getting this regardless of language/input.

duckling.core=> (parse :en$core "wednesday" [:time])

Oct 16, 2016 5:08:24 PM clojure.tools.logging$eval288$fn__292 invoke SEVERE: Error while resolving {:pred #object[clojure.lang.AFunction$1 0x6e0eb473 "clojure.lang.AFunction$1@6e0eb473"], :index 1, :dim :time, :rule {:name "named-day", :pattern (#object[duckling.engine$pattern_fn$fn__4036 0x4c5de647 "duckling.engine$pattern_fn$fn__4036@4c5de647"]), :production #object[duckling.time.prod$eval17057$fn__17058 0x371bffa4 "duckling.time.prod$eval17057$fn__17058@371bffa4"]}, :log-prob 0.0, :pos 0, :label :time, :form :day-of-week, :end 9, :not-immediate true, :text "wednesday"}

org.joda.time.IllegalFieldValueException: Value 0 for hourOfDay is not supported: Illegal instant due to time zone offset transition (daylight savings time 'gap'): 2016-10-16T00:08:24.183 (America/Sao_Paulo)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant