From bc15edfa11a2eafbf79605ac16d881318f7cc5a6 Mon Sep 17 00:00:00 2001 From: Borzutzki Robert Date: Mon, 25 Nov 2024 22:38:30 +0100 Subject: [PATCH] fix --- examples/date-diff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/date-diff.py b/examples/date-diff.py index 241be85..470e002 100644 --- a/examples/date-diff.py +++ b/examples/date-diff.py @@ -45,7 +45,7 @@ start_time = date.today() print(start_time.strftime("%d.%m.%Y")) ruhestand = date(2025, 6, 10) # Zeitdelta berechnen -duration = end_time - start_time +duration = ruhestand - start_time print(duration) # Ausgabe: 9 Tage, 2:30:00 def init_monitor():