fix(stats): last_usage orders by id (insertion order); clarify Window default
This commit is contained in:
parent
f2f104627d
commit
59dd7955aa
2 changed files with 5 additions and 1 deletions
|
|
@ -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,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue