Skip to main content

ago

Function ago 

Source
pub fn ago(ms: i64) -> String
Expand description

How long ago something was, from its age in ms, in at most 6 characters for an age under 100 days: 45s, 12m, 3h05m under a day, 2d from a day on. A negative age (a sender’s clock ahead of this one) is 0s.