mirror of
https://github.com/devvmhq/devvm.git
synced 2026-12-01 16:27:33 -10:00
TestExports counted 30 days from a fixed local date, so it failed in UTC (CI) and passed in Pacific time, where the range crosses a DST change and is an hour short. It now counts from export b's parsed date: at exactly 30d both exports are that old, a second short only a, and olderThan 0 returns both. The audit of internal/ and cmd/ found nothing else that depends on the zone or today's date: export names are written and parsed in local time (now documented at the parse and on the coding agents page: an age is elapsed time, so across DST it's an hour off wall-clock days); run-log names are local but pruning goes by mtime; the network log, image versions, logins and Lima's start marker are UTC; retention, tools' daily check and the caches tests count from instants; testscript fixtures are dated far in the past or the future. CI runs mise run test a third time on Linux with TZ=America/Los_Angeles, and contributing/testing.md says how to check other zones. Co-Authored-By: Claude Opus 5.5 <[email protected]>