Skip to content

[personal-wp] Fix backup status showing "Infinity days since backup"#3213

Merged
akirk merged 1 commit intotrunkfrom
fix/backup-status-infinity-display
Jan 28, 2026
Merged

[personal-wp] Fix backup status showing "Infinity days since backup"#3213
akirk merged 1 commit intotrunkfrom
fix/backup-status-infinity-display

Conversation

@akirk
Copy link
Copy Markdown
Member

@akirk akirk commented Jan 28, 2026

Motivation for the change, related issues

In Personal WP, when a site has never been backed up, the backup status indicator displays "Infinity days since backup" instead of a meaningful message.

Screenshot

Capture d’écran 2026-01-28 à 11 01 24

Implementation details

The indicator now hides entirely when a site has never been backed up. This is handled by an early return before computing the days since backup, which also allowed simplifying getDaysSinceBackup to always expect a valid timestamp.

Testing Instructions (or ideally a Blueprint)

  1. Open Personal WP
  2. Create a new site (with persistent storage)
  3. Observe the backup status indicator is hidden instead of showing "Infinity days since backup"

@akirk akirk changed the title [Personal WP] Fix backup status showing "Infinity days since backup" [personal-wp] Fix backup status showing "Infinity days since backup" Jan 28, 2026
The backup status indicator now hides when a site has never been backed up, instead of showing "Infinity days since backup".
@akirk akirk force-pushed the fix/backup-status-infinity-display branch from 3729d8d to 14e0f18 Compare January 28, 2026 16:41
@akirk akirk merged commit 8691aa5 into trunk Jan 28, 2026
35 checks passed
@akirk akirk deleted the fix/backup-status-infinity-display branch January 28, 2026 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants