From 55bda8ea5e0bcc3842e3719a789805312ad540da Mon Sep 17 00:00:00 2001 From: SimolZimol <70102430+SimolZimol@users.noreply.github.com> Date: Tue, 21 Apr 2026 09:52:10 +0200 Subject: [PATCH] modified: app.py --- app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"]