# fix\(popup\): show the date of clock-time resets a week or more away \(\#351\) · lucenx/codexbar-plasma

[View on GitCafe](https://git.cafe/lucenx/codexbar-plasma/commit/9855ad4d5373cf65faf13291f99484fd1ea16b4e)

Repository: [lucenx/codexbar-plasma](https://git.cafe/lucenx/codexbar-plasma)

Visibility: public

Requested revision: 9855ad4d5373cf65faf13291f99484fd1ea16b4e

Requested commit: 9855ad4d5373cf65faf13291f99484fd1ea16b4e

Commit: 9855ad4d5373cf65faf13291f99484fd1ea16b4e

Tree: 0b284996222a0bfec36848e4b4c22b2f4b3dc3c2

Author: Simone

Committer: GitHub

## Message

```
fix(popup): show the date of clock-time resets a week or more away (#351)

With "Show reset times as clock time", every reset was formatted as a
weekday and time. A weekday names one date only within the next six
days, so a weekly limit that had just reset, due again on today's
weekday, read as resetting later today ("Sun 13:00" on a Sunday at
12:00 for a reset seven days away), and a monthly limit read as a day
of this week.

ResetPresentation.absoluteShowsDate compares local calendar days with
the live panel clock; resetText keeps "ddd HH:mm" from today through the
next six days and uses "MMM d, HH:mm" beyond that, before today, or
without a usable clock.

Docs: usage guide Popup settings bullet and an Unreleased Fixed entry.


Claude-Session: https://claude.ai/code/session_01TyLjj3QgxCcyMUFLdNo5L8

Co-authored-by: Claude <noreply@anthropic.com>
```

## Parents

- [4c4c9ca571ab31a41e585948bd274e65fda24133](https://git.cafe/lucenx/codexbar-plasma/commit/4c4c9ca571ab31a41e585948bd274e65fda24133?format=markdown)

[Source at this commit](https://git.cafe/lucenx/codexbar-plasma/tree/9855ad4d5373cf65faf13291f99484fd1ea16b4e?format=markdown)
