diff --git a/app.py b/app.py index 31c0ee1..b9f7ac7 100644 --- a/app.py +++ b/app.py @@ -202,7 +202,7 @@ def wetter(): # "Aktuell" = erste Stunde >= jetzt (UTC), sonst erste verfügbare now_utc = _dt.datetime.now(_dt.timezone.utc).replace(tzinfo=None) - now_local = _dt.datetime.now() # lokale Serverzeit für Anzeige + now_local = _dt.datetime.now(_dt.timezone.utc).astimezone() # lokale Systemzeit inkl. Zeitzone current_idx = 0 for i, h in enumerate(forecast): dt = h["datetime"]