feat: enhance formatUptime to include minutes

- Now formats as "Xd Yh Zm", "Yh Zm", or "Zm" depending on value size
- Backlog: mark Uptime Duration as done

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-12 12:26:33 +01:00
parent 7495e27288
commit 528c8f54e6
2 changed files with 6 additions and 3 deletions

View File

@@ -30,8 +30,8 @@
- **Status: done (merged to main)**
### Uptime Duration
- Format uptime seconds to "3d 4h 12m" via `formatUptime()` helper
- Note: node card already shows uptime as raw seconds
- `formatUptime()` now formats to "3d 4h 12m" (days, hours, minutes). Falls back to "4h 12m" or "12m" when days aren't needed.
- **Status: done (merged to main)**
### Search / Filter
- Client-side text input filtering table rows by name/node/status