Files
claude-hud/tests/render.test.js
KwCCCC eb81ffb1bd fix: display reset time in days when >= 24 hours (#132)
* fix: display reset time in days when >= 24 hours

The 7-day usage window reset countdown shows raw hours (e.g., "151h 59m")
which is hard to read. Format as days + hours when >= 24h (e.g., "6d 7h").

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* test: cover day-based usage reset formatting

---------

Co-authored-by: KwCCCC <KwCCCC@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Jarrod Watts <jarrod@cubelabs.xyz>
2026-03-03 14:08:17 +11:00

23 KiB