special-attention.feature.ts
4.91 KB
-
fix(tz): 本地 CH 设 Asia/Shanghai 对齐远程 DW + 移除 arrived_at +8h band-aid · 55f8de0c
- 本地 pac-clickhouse 原跑 TZ=UTC,裸 DateTime(in_time)读出比北京裸字段早 8h。 加 clickhouse/config.d/timezone.xml(<timezone>Asia/Shanghai</timezone>)+ compose TZ env, 重建后本地行为与远程 DW(本就 Shanghai)一致;源 instant 一直正确,无需改数据。 - special-attention 的 ARRIVED_TZ_FIX_MS(+8h)是为补偿上述本地 UTC 偏差加的;源 CH 统一 Shanghai 后 会反向多加 8h → 移除(服务器连远程 DW,该 band-aid 本就一直让"迟到"晚 8h,一并修)。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
luoqi committed