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

HU rest days to create 4 day weekends #379

Open
lucasra1 opened this issue Nov 28, 2022 · 1 comment
Open

HU rest days to create 4 day weekends #379

lucasra1 opened this issue Nov 28, 2022 · 1 comment

Comments

@lucasra1
Copy link

if a bank holiday falls on a Tuesday or a Thursday, the preceding Monday or the following Friday will become a rest day to create a 4-day long weekend.

https://helpers.hu/staffing-solutions/bank-holidays-in-2022-hungary/

Is there a way to reflect that in this library?

@commenthol
Copy link
Owner

Hi @lucasra1 ,
There is a rule Holiday based on other holidays (bridge days) which requires gregorian dates.
But I don't think this will fit your usecase, which means we would need to implement this "new" rule in date-holidays-parser.
Until then it would be nice if you could consider adding the bridge holidays to HU.yaml using fixed dates.

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

2 participants