zebra_chain::fmt::time

Function duration_short

source
pub fn duration_short(duration: impl Into<Duration>) -> String
Expand description

Returns a human-friendly formatted string for the whole number of seconds in duration.