Fixed day span

This commit is contained in:
2026-02-21 15:55:31 +01:00
parent 19d457bde6
commit 7b1f143cec
2 changed files with 15 additions and 12 deletions

View File

@@ -55,7 +55,7 @@ def get_upcoming_events(days_to_show=None, limit=None):
# PRIORITÄT 2: Tage-Logik
ende = heute + timedelta(days=int(days_to_show))
return [e for e in _cache["events"] if heute <= e[date_col] <= ende]
return [e for e in _cache["events"] if heute <= e[date_col] < ende]
def get_remarks():
if _is_cache_valid() and _cache["remarks"] is not None: