Repository navigation
Commit 469a32a
test: cover a DST summer instant for from_unixtime in America/Denver
The named-zone test only checked a January instant, which renders `-07:00`.
That result is equally consistent with a DST-aware zone and with an
implementation that wrongly treated America/Denver as a fixed `-07:00` offset,
so it did not prove DST handling.
Adds a July instant, 2024-07-01T12:00:00Z, under the same session zone. It
must render `2024-07-01T06:00:00-06:00`, which only a DST-aware zone produces.
Expected output generated by running the query; changing it to `-07:00` makes
the file fail.
Suggested in review by @kosiew.
Co-Authored-By: Claude Opus 5 <[email protected]>1 parent fb72121 commit 469a32a
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
58 | 65 | | |
59 | 66 | | |
60 | 67 | | |
| |||
0 commit comments