diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2023-12-03 11:27:28 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2023-12-03 11:27:28 +0100 |
commit | 5dbccbbd1dc26681b6478842dd01be8b3e93c603 (patch) | |
tree | efc22a777c88d04f84ed70165f878e57739dc09e /overlays/worktime | |
parent | bde3c17e178e9c56422ab7da1c61d2718dfc5567 (diff) | |
download | nixos-5dbccbbd1dc26681b6478842dd01be8b3e93c603.tar nixos-5dbccbbd1dc26681b6478842dd01be8b3e93c603.tar.gz nixos-5dbccbbd1dc26681b6478842dd01be8b3e93c603.tar.bz2 nixos-5dbccbbd1dc26681b6478842dd01be8b3e93c603.tar.xz nixos-5dbccbbd1dc26681b6478842dd01be8b3e93c603.zip |
...
Diffstat (limited to 'overlays/worktime')
-rwxr-xr-x | overlays/worktime/worktime/__main__.py | 7 |
1 files changed, 7 insertions, 0 deletions
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): | |||
244 | holidays[datetime(year, 12, 25, tzinfo=tzlocal()).date()] = 1 | 244 | holidays[datetime(year, 12, 25, tzinfo=tzlocal()).date()] = 1 |
245 | holidays[datetime(year, 12, 26, tzinfo=tzlocal()).date()] = 1 | 245 | holidays[datetime(year, 12, 26, tzinfo=tzlocal()).date()] = 1 |
246 | 246 | ||
247 | # TV-L | ||
248 | holidays[datetime(year, 12, 24, tzinfo=tzlocal()).date()] = 1 | ||
249 | holidays[datetime(year, 12, 31, tzinfo=tzlocal()).date()] = 1 | ||
250 | |||
251 | # LMU | ||
252 | holidays[(y_easter+timedelta(days=-47)).date()] = 0.5 | ||
253 | |||
247 | return holidays | 254 | return holidays |
248 | 255 | ||
249 | @staticmethod | 256 | @staticmethod |