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

Bug in holidays.find_nth_weekday_date() causing invalid holiday dates #6

Open
joelonsql opened this issue Nov 28, 2020 · 0 comments
Open

Comments

@joelonsql
Copy link

holidays=# select * from holidays.denmark(2020,2021) where reference = 'Palm Sunday';
datestamp | reference | description | authority | day_off | observation_shifted | start_time | end_time
------------+-------------+-------------+-----------+---------+---------------------+------------+----------
2020-03-29 | Palm Sunday | Palmesøndag | national | t | f | 00:00:00 | 24:00:00
2021-03-21 | Palm Sunday | Palmesøndag | national | t | f | 00:00:00 | 24:00:00
(2 rows)

According to [1], "Palm Sunday" for 2020 is 2020-04-05.
According to Google "Palm Sunday Denmark", the date for 2021 is 2021-03-28.

[1] https://www.oresunddirekt.se/en/working-in-denmark/working-in-denmark/public-holidays-2020-in-sweden-and-denmark

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