fix(stats): last_usage orders by id (insertion order); clarify Window default

This commit is contained in:
müde 2026-07-05 22:53:16 +02:00
commit 59dd7955aa
2 changed files with 5 additions and 1 deletions

View file

@ -42,6 +42,7 @@ impl Window {
"7d" => Self::Week,
"30d" => Self::Month,
"all" => Self::All,
// Default (incl. `label()`'s own canonical `"24h"`/`"1d"`).
_ => Self::Day,
}
}