From 1a4d75c12640004cb30b842e0cdd25a45860c434 Mon Sep 17 00:00:00 2001 From: "2569718930@qq.com" <2569718930@qq.com> Date: Wed, 13 May 2026 21:43:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A8=E9=80=81=E6=B6=88=E6=81=AF=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E6=94=B9=E4=B8=BA=E8=A7=82=E6=B5=8B=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E6=97=B6=E9=97=B4=EF=BC=8C=E4=B8=8D=E5=86=8D=E7=94=A8=E5=BD=93?= =?UTF-8?q?=E5=89=8D=E6=9C=AC=E5=9C=B0=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/telegram_push.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/utils/telegram_push.py b/src/utils/telegram_push.py index bcc5c519..b32512a5 100644 --- a/src/utils/telegram_push.py +++ b/src/utils/telegram_push.py @@ -1016,8 +1016,10 @@ def _run_high_freq_airport_cycle( state_dirty = True continue - local_time = city_weather.get("local_time") or "" - message = _build_airport_status_message(city, city_weather, deb_pred, local_time) + # 用观测数据时间而非当前本地时间 + airport_cur = city_weather.get("airport_current") or {} + obs_local = airport_cur.get("obs_time") or city_weather.get("local_time") or "" + message = _build_airport_status_message(city, city_weather, deb_pred, obs_local) sent = False for chat_id in chat_ids: