secubox-openwrt/package/secubox/luci-app-metrics-dashboard
CyberMind-FR 434e501dae fix(metrics): Use date -r for OpenWrt file mtime and fix grep -c double output
- Replace stat -c %Y with date -r for BusyBox compatibility (stat not available)
- Fix get_cache_age() to properly return early when cache file missing
- Fix grep -c || echo 0 pattern that caused "invalid number '0\n0'" errors
- Add proper numeric defaults using : "${var:=0}" pattern
- Add freshness metadata (_freshness) with age, timestamp, and fresh boolean

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-20 11:40:04 +01:00
..
htdocs/luci-static/resources/view/metrics feat(ui): Add progressive freshness indicators to dashboards 2026-03-20 11:05:01 +01:00
root fix(metrics): Use date -r for OpenWrt file mtime and fix grep -c double output 2026-03-20 11:40:04 +01:00
Makefile feat(metrics): KISS-styled dashboard with double-buffer caching 2026-03-17 12:37:57 +01:00