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: duplicate shifted holiday in California #528
Comments
thank you for the bug report, very "interesting" bug. I'll get into it as soon as I can. |
I just looked into this. The shift day is computed twice (and differently) in Here's some info on how state holidays in California work. It says about the shift holidays:
I could not find any source stating that Cesar Chavez Day is shifted any differently than other holidays. Hence, I think this bug should be solved by not doing any special shifting for Cesar Chavez Day, i.e. have a However I noticed two other, separate issues:
I'm not gonna touch these two bullet points as this looks like a job for an American. |
Seems like Cesar Chavez day is an optional holiday in Colorado. That might be the reason why, at the time, I introduced it as a "core" holiday, with an "include_" flag to allow integrators to activate it or not depending on their context. I need to dig a bit further on the duplicates you've found, though. |
ok, I think I have a lead, here. Effectively, Chavez Day seems to be an exception when it comes to weekend-shifting. I think it's possible to have a satisfying procedure that would keep the usual behaviour and take the Californian exception the way it should be. |
Bug fixed, you can use the latest (10.4.0) release:
I'm still working my way on the iCal export feature, soon to be ready. |
It would be sweet to document the source for this statement. To me it looked like this was an implementation mistake. I couldn't find any official info that shifting works differently for Cesar Chavez Day. |
Note that Cesar Chavez Day (Observed) is duplicated.
This does not occur for 2017, 2018, 2020, and 2021. I've just tested those five years. The same issue occurs with 2019 in the CaliforniaEducation calendar.
I noticed this issue because it breaks a version of my test for PR #527.
The text was updated successfully, but these errors were encountered: