Skip to content

fix(quota): show seconds in reset countdown - #255

Merged
SaladDay merged 1 commit into
mainfrom
fix/quota-reset-seconds
Sep 3, 2026
Merged

fix(quota): show seconds in reset countdown#255
SaladDay merged 1 commit into
mainfrom
fix/quota-reset-seconds

Conversation

@SaladDay

@SaladDay SaladDay commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • show whole seconds while a positive quota reset countdown is below one minute
  • preserve the existing minute/hour formatting and localized expired state
  • cover subsecond, 60-second, zero, negative, and localization boundaries

Scope

This PR only changes quota reset duration formatting and its regression coverage. It does not implement the weekly header proposed in #248 or change table layout, API behavior, JSON output, or quiet output.

Verification

  • Full test suite: 510 passed, 0 failed
  • TypeScript typecheck passed
  • ESLint passed with one pre-existing warning in test/sdk/speech.test.ts
  • Development build passed

Closes #254


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@SaladDay
SaladDay merged commit 74e904a into main Sep 3, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(quota): show seconds in reset countdown when less than a minute remains

1 participant