You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there
In July 2023 in Czechia we have two days of holidays during ordinary working days.
Following test shows, that for calculating working days during the first working week and during the whole month, it returns wrong number of working days.
Hint: the holidays are on Wednesday and Thursday, so there is only one working day left till weekend. In some countries (like Spain) they have "bridge holiday" for situations like that, if the gap is just one day, it is considered a holiday too.
But for Czechia this is not the case.
Following file (name it test_it.py) could be run using pytest.
Hi there
In July 2023 in Czechia we have two days of holidays during ordinary working days.
Following test shows, that for calculating working days during the first working week and during the whole month, it returns wrong number of working days.
Hint: the holidays are on Wednesday and Thursday, so there is only one working day left till weekend. In some countries (like Spain) they have "bridge holiday" for situations like that, if the gap is just one day, it is considered a holiday too.
But for Czechia this is not the case.
Following file (name it
test_it.py
) could be run using pytest.When run, it reports:
The text was updated successfully, but these errors were encountered: