Closed stanhu closed 4 years ago
What about Chronic 0.10.2, then one currently on display at https://rubygems.org/search?utf8=%E2%9C%93&query=chronic ? Does it have a Chronic::Parser::DEFAULT_OPTIONS
?
Yes: https://github.com/mojombo/chronic/blob/v0.10.2/lib/chronic/parser.rb#L8
It looks like the tests are failing because Hash#slice
was added in Ruby 2.5.
Thanks.
@jmettraux are you planning to release a new version of EtOrbi
with this fix?
@edgar Hello. Yes.
@jmettraux thanks!
As of https://github.com/mojombo/chronic/pull/269, the
master
version of Chronic validates all options. By default, et-orbi passes inzone
, which causesChronic::Parser
to fail.