Weekly/usage limit reset countdown truncates instead of rounds ("resets in 1d" when ~2 days remain)

Status Closed — not planned
Maintainer reply None cached
Activity 1 comment · opened Aug 26, 2026 · closed Aug 26, 2026

Description

The time-to-reset shown in the usage-limit warning (e.g. "You've used 97% of your
weekly limit - resets in 1d - View Usage") appears to be truncated to the nearest
whole unit rather than rounded.

Repro

  • Current time: Wednesday 2026-08-26, 5:41pm EDT
  • Reset time shown: Friday 2026-08-28, 5:00pm EDT
  • Actual time remaining: 47h19m (just under 2 full days)
  • Displayed: "resets in 1d"

Expected (rounded): "resets in 2d"
Actual (truncated): "resets in 1d"

The same truncation (vs. rounding) behavior also appears when the countdown is
displayed in hours rather than days — e.g. an interval of 1h55m shows as "1h"
rather than "2h".

Expected behavior

The countdown should round to the nearest unit (or otherwise clearly communicate
that it's a floor/truncation, e.g. "at least 1d"), so the displayed value doesn't
understate the actual time remaining by up to a full unit.

Impact

Minor but user-facing: the displayed reset time can misrepresent how much time is
actually left, which affects users' decisions about pacing usage before a reset.

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗