From 3489736a7ae2c2827452c0c23805becf41e1d2b9 Mon Sep 17 00:00:00 2001 From: matin Date: Thu, 11 Sep 2025 16:00:59 +0200 Subject: - Anrechnung von Ausfallzeiten nach urspr. Bewerbungsfrist - einheitliches Datumsformat --- date_calculator.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'date_calculator.py') diff --git a/date_calculator.py b/date_calculator.py index df13721..1920d30 100644 --- a/date_calculator.py +++ b/date_calculator.py @@ -11,9 +11,7 @@ class DateCalculator: # print(start) # print(launch) truncated_start = max(start, launch) - truncated_end = min(end, prediction) - if truncated_start <= end and truncated_start <= prediction: - considered_periods.append((truncated_start, truncated_end, id)) + considered_periods.append((truncated_start, end, id)) return considered_periods @staticmethod -- cgit v1.1