13 Commits
Author SHA1 Message Date
dualfroz 87b3e97a0e Describe this repository 2026-10-22 21:07:17 +02:00
dualfroz e678c52b19 test: move the tzdb version test into tests/ so npm test runs it 2026-10-15 18:18:17 +02:00
upstream caad5a27d6 Upstream spencermountain/spacetime state of the touched files before 49cfa3d312 2026-10-15 18:18:17 +02:00
dualfroz 297f022747 test: move the tzdb version test into tests/ so npm test runs it 2026-10-16 09:04:30 +02:00
dualfroz 27503a50da fix(timezone): use iana spelling for legacy zone names
titleCase() wrote 45 bundled names differently from tzdb, mostly legacy
links like US/Eastern (Us/Eastern), Australia/NSW, Etc/UCT, EST5EDT and
America/Knox_IN. Look up the segments it can't derive in a small table;
the new test checks every bundled zone that tzdb 2026c knows.
2026-10-15 18:18:13 +02:00
dualfroz 1668c0dd6b feat: expose the tzdb version of the bundled zonefile 2026-10-03 15:30:58 +02:00
upstream d47824c8f3 Upstream spencermountain/spacetime state of the touched files before fe90cae667 2026-10-02 16:02:11 +02:00
dualfroz 081c965030 fix(whereIts): return titlecased timezone names 2026-10-15 18:14:21 +02:00
upstream fb5ecec15c Upstream spencermountain/spacetime state of the touched files before b6fbec9c97 2026-10-02 15:56:00 +02:00
dualfroz d48b259893 fix(set): clamp hour() to 23 instead of the invalid 24
hour(n) with n >= 24 clamped n to 24, which walkTo() rejects as an invalid
hour (valid range 0-23), nulling the epoch and invalidating the object.
Clamp to 23 to match the other overflow-clamping setters (date, month).
2026-09-04 09:43:57 +02:00
upstream cdeb1866ab Upstream spencermountain/spacetime state of the touched files before 2331aa9f8f 2026-09-04 09:43:57 +02:00
dualfroz bf7f44c584 fix(set): clamp hour() to 23 instead of the invalid 24
hour(n) with n >= 24 clamped n to 24, which walkTo() rejects as an invalid
hour (valid range 0-23), nulling the epoch and invalidating the object.
Clamp to 23 to match the other overflow-clamping setters (date, month).
2026-09-06 01:13:18 +02:00
upstream 96f6f12e4e Upstream spencermountain/spacetime state of the touched files before d9eaced13f 2026-09-04 09:43:57 +02:00