Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Holidays.on returns results inconsistent with Holidays.between #428

Open
ajmelissenmobiliteitsfabriek opened this issue May 2, 2024 · 0 comments

Comments

@ajmelissenmobiliteitsfabriek

Hi we have an issue where some holidays are not listed.

Holidays.between(Date.parse('2024-05-08'), Date.parse('2024-05-10'), :nl)
=> [{:date=>Thu, 09 May 2024, :name=>"Hemelvaartsdag", :regions=>[:nl]}]

Getting holidays between 05-08 and 05-10 returns the correct holiday, but the direct on call does not:

Holidays.on(Date.parse('2024-05-09'), :nl)
=> []

gem version:

gem 'holidays', '~> 8.7.1'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant