diff options
| author | matin <matin.kaufmann@gmail.com> | 2025-09-11 16:00:59 +0200 |
|---|---|---|
| committer | matin <matin.kaufmann@gmail.com> | 2025-09-11 16:00:59 +0200 |
| commit | 3489736a7ae2c2827452c0c23805becf41e1d2b9 (patch) | |
| tree | 2862e7eb27392e258ed4df8fcba125a884406008 /date_calculator.py | |
| parent | 44cbf568a6853bace46700693f09179d8831bb04 (diff) | |
- Anrechnung von Ausfallzeiten nach urspr. Bewerbungsfrist
- einheitliches Datumsformat
Diffstat (limited to 'date_calculator.py')
| -rw-r--r-- | date_calculator.py | 4 |
1 files changed, 1 insertions, 3 deletions
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 |
