diff --git a/app.py b/app.py index 2c289ea..a9b7798 100644 --- a/app.py +++ b/app.py @@ -218,7 +218,8 @@ def wetter(): berlin = pytz.timezone("Europe/Berlin") now_local_dt = _dt.datetime.now(berlin) now_local = now_local_dt.strftime("%H:%M") - now_berlin_naive = now_local_dt.replace(tzinfo=None) + # Auf volle Stunde abrunden → aktuelle Stunde als Startpunkt + now_berlin_naive = now_local_dt.replace(minute=0, second=0, microsecond=0, tzinfo=None) current_idx = 0 for i, h in enumerate(forecast): dt = h["datetime"]