duxingchen
ca195192b6
fix: 协同留言时间改为北京时间
根因: 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)
2026-08-12 13:55:33 +08:00
..
2026-08-10 17:37:01 +08:00
2026-08-07 11:49:59 +08:00
2026-08-04 10:05:59 +08:00
2026-08-12 13:55:33 +08:00
2026-08-11 18:17:52 +08:00
2026-08-05 14:00:23 +08:00
2026-08-05 14:00:23 +08:00
2026-08-05 14:00:23 +08:00
2026-08-07 11:44:04 +08:00