pub fn format_rate_limit_window(
resets_at: Option<f64>,
now_unix: f64,
) -> Option<String>Expand description
T-212: format a rate-limit reset timestamp as a short label for
the status bar. Returns None when the limit is in the past, at
the current instant, or unset — the indicator hides in those
cases. For active limits, formats as 42s (under a minute),
5m 12s (under an hour), or 1h 23m (an hour or more).
Operator-facing string; not for parsing.