Fixed day span
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user