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
New agreed public holiday in Russia #578
Comments
Hello!
That's perfectly doable, yes. But to make things a bit clearer: what was the starting point of these changes in the Russia calendar? was it only for 2020 and 2021+, or did it start earlier? |
One more question: are all those "new" days public holidays (i.e. days when employees don't work at all?) |
@brunobord Explained by my Russian colleague, there is the following process in place for several (decades) years Regarding when people are working, that can indeed become tricky - for example, there were some COVID-19 days (see April) in 2020, but some people had an exception and could work - yet the pragmatic approach I would consider is to keep all of them as non-working in case, there is a need to do so (personal opinion). |
The days between 2-5 have become a week off since 2005 (related to #578)
The days between 2-5 have become a week off since 2005 (related to #578)
Started to work on the Russia calendar. I've splitted the various issues into several smaller chunks, but my main goal is to try to reach the smartest precision I can get to. I'm not sure it's going to be perfect, but I'll try my best ;o) |
There's an issue I've discovered with Russia including Dec 25th as a holiday while it shouldn't. |
I (allegedly) think I've fixed the 2020 holiday mistakes... Switching to 2021, I hope I'll be able to release a new version on time for the New Year's Day! |
version 14.1.0 ships 2021 Russia calendar, hopefully.
Happy upgrading! |
Hi @brunobord Many thanks for the implementation! Looking at the output of the following code - it misses the holidays from # conda install -c conda-forge workalendar=14.0
from workalendar.europe import Russia
cal = Russia()
cal.holidays(2021)
|
I see you are using the 14.0 release, but the 2021 fixes are in the 14.1.0 instead. Could you please retry with this one and confirm this issue is fixed? |
@brunobord Ah sorry, you're right - it works, my bad. Thanks for pointing it out. |
Dear workalendar team,
We were notified, that recently, the Russian government agreed on the occupational calendar for 2021, which brings additional logic to some of the holidays.
Year 2021
Is it possible to adjust the holidays for Russia since 2021 accordingly?
The current result:
The expected result:
Note: Saturday 2020-02-20 becomes a working day
Past years
Could you also fix the past years (e.g. the year 2020 having some missing holidays)? Even though this is past information, it is relevant for the machine learning models during the fitting time.
Related sources
http://www.consultant.ru/law/ref/calendar/proizvodstvennye/2021/
https://www.timeanddate.com/calendar/custom.html?year=2021&country=20&cols=3&hol=1&df=1
The text was updated successfully, but these errors were encountered: