mirror of
https://ghfast.top/https://github.com/aeroxw/tick-stock-panel.git
synced 2026-09-12 21:24:16 +08:00
- 新增 backend/app/timezone.py 统一上海时区入口(ZoneInfo + UTC+8 兜底) - quote_service / depth_service 的 _is_trading_hours() 改用显式 Asia/Shanghai - Dockerfile 加 ENV TZ=Asia/Shanghai + tzdata,docker-compose.yml 加 TZ 环境变量 - 代码与容器双保险,解决裸 datetime.now() 在 UTC 容器下永远判为休市的问题