python-holidays icon indicating copy to clipboard operation
python-holidays copied to clipboard

Germany: Saturday is (usually) a working day

Open nicbou opened this issue 10 months ago • 3 comments

Describe the bug

In Germany, a Werktag usually includes saturdays, while an Arbeitstag does not. It depends on the situation.

See the following definitions with additional sources:

To Reproduce Provide an unambiguous set of steps to reproduce this bug. Include code to reproduce, if relevant.

  1. holidays.country_holidays('DE', subdiv='BE').is_working_day('2026-01-31') returns False, while it should return True since it's a saturday

Expected behavior

is_working_day might need to include an extra argument: 'include_saturdays', since the definition varies depending on context.

Environment

  • holidays version: 0.89

nicbou avatar Jan 30 '26 12:01 nicbou

I’d like to look into this and better understand the expected behavior before making any changes. Please let me know if it’s okay for me to explore this further and share my findings here.

Aman123933 avatar Feb 03 '26 11:02 Aman123933

By all means! It's just a quirk I noticed while reading the documentation. I do not need this feature personally. I only use holidays for the list of public holidays, and I am very grateful for it.

nicbou avatar Feb 03 '26 12:02 nicbou

Thanks for the clarification, that makes sense. Since this is more of an optional use case and not something you need right now, I’ll hold off on pursuing this further.

Aman123933 avatar Feb 03 '26 12:02 Aman123933