`LocalJumpError` when the period is too long
ironsand opened this issue · comments
Hi,
I got a error when I run Holidays.between(Date.civil(2000, 1, 1), Date.civil(2018), :jp)
LocalJumpError: unexpected return
from /Users/ironsand/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/holidays-4.6.0/lib/generated_definitions/jp.rb:116:in `block in custom_methods'
but if I change 2000
to 2005
, then it works fine.
Holidays.between(Date.civil(2005, 1, 1), Date.civil(2018), :jp)
I'm happy if I can use it from 2000
. Thanks
@ironsand I am releasing 4.7.0 shortly, which should have this issue resolved. Thanks again for reporting!