From 5dbccbbd1dc26681b6478842dd01be8b3e93c603 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 3 Dec 2023 11:27:28 +0100 Subject: ... --- overlays/worktime/worktime/__main__.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'overlays/worktime') diff --git a/overlays/worktime/worktime/__main__.py b/overlays/worktime/worktime/__main__.py index 35aef8f7..14381e0c 100755 --- a/overlays/worktime/worktime/__main__.py +++ b/overlays/worktime/worktime/__main__.py @@ -244,6 +244,13 @@ class Worktime(object): holidays[datetime(year, 12, 25, tzinfo=tzlocal()).date()] = 1 holidays[datetime(year, 12, 26, tzinfo=tzlocal()).date()] = 1 + # TV-L + holidays[datetime(year, 12, 24, tzinfo=tzlocal()).date()] = 1 + holidays[datetime(year, 12, 31, tzinfo=tzlocal()).date()] = 1 + + # LMU + holidays[(y_easter+timedelta(days=-47)).date()] = 0.5 + return holidays @staticmethod -- cgit v1.2.3