Skip to main content

since

Function since 

Source
fn since(secs: i64) -> String
Expand description

An age in seconds, at the precision someone reading it cares about.

Not dur: that one formats a span inside a request, where the interesting range is nanoseconds to seconds. This one formats how long a process or a block has been around, where it is seconds to days — and 187 minutes is not a readable way to say three hours.