zebra_chain::fmt::time

Function humantime_seconds

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

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