modified: app.py
This commit is contained in:
2
app.py
2
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"]
|
||||
|
||||
Reference in New Issue
Block a user