ClaudeMeter
ClaudeMeter copied to clipboard
Show exact reset time in usage cards
Summary
Adds the exact reset time alongside the existing relative description in each usage card, with a setting to toggle it.
- The reset line now appends the exact time in parentheses, e.g.
Resets in 3 days 5 hours (Jun 14, 11:30 PM). - The 5-Hour Session card shows the time of day only; weekly cards show month, day, and time (no year).
- A new Show Reset Time toggle in Settings (placed after Show Sonnet Usage) controls the parenthetical.
Details
UsageLimitgainsresetTimeOnlyFormatted(time-of-day only) andresetTimeFormattednow uses a localizedMMMdjmmtemplate (no year).UsageCardViewgainsshowsExactResetTimeandusesTimeOnlyResetTimestampparameters.AppSettingsgainsisResetTimeShown(defaulttrue), persisted viaSettingsRepositoryand decoded safely from older saved settings.
Testing
xcodebuild build(Debug & Release) succeeds.