ca195192b660cc829b192c7b3c445a5b0aa46d7a
根因: ProductMessage.created_at 使用 datetime.utcnow (UTC),
与其他所有模型使用的 get_beijing_time 不一致。
看板留言抽屉显示的时间比实际晚8小时。
修复:
1. message.py: DateTime → DateTime(timezone=True)
default 从 datetime.utcnow → get_beijing_time
2. dashboard_service.py: 兜底转换已有数据
naive UTC → replace(tzinfo=UTC) → astimezone(Beijing)
Description
IRIS生成管理APP
Languages
Python
36.2%
TypeScript
33.8%
Vue
27.5%
JavaScript
1.3%
CSS
0.3%
Other
0.9%