修复机场快照时间显示:CST → KST(UTC+9 当地时间)
@
This commit is contained in:
2569718930@qq.com
2026-05-12 17:08:56 +08:00
parent 64f8ff21ec
commit 9a8ed0e15e
+2 -1
View File
@@ -913,7 +913,8 @@ def _run_high_freq_airport_cycle(
from datetime import timedelta
kst_hour = (datetime.utcnow() + timedelta(hours=9)).hour
if 8 <= kst_hour < 20:
local_time = datetime.now().strftime("%H:%M CST")
kst_now = datetime.utcnow() + timedelta(hours=9)
local_time = kst_now.strftime("%H:%M KST")
snap_message = _build_airport_snapshot_message(snapshots, local_time)
for chat_id in chat_ids:
try: