Commit 9dbbe04
ZhongJiaqi
fix: 时区无关的 fixture timestamps(修 CI UTC 失败)
CI 在 UTC 跑,本地在 CST,原 fixture 用 1 月 1 日的 timestamp
(1514736000 等)在两个时区解析出不同的年份,导致:
- test_contains_year_trend_bars 期 2026 但 CI 显示 2025
- test_non_numeric_readtime_key_ignored 期 2025 但 CI 显示 2024
- test_breakout_year "爆发之年" 不触发
改用各年 7 月 1 日的 timestamp,远离年边界,任何时区都稳。
registTime 保持不变(2018-03-08 两个时区都是 2018)。1 parent a2563b3 commit 9dbbe04
2 files changed
Lines changed: 10 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
0 commit comments