Skip to main content

relative

Function relative 

Source
pub fn relative(now_unix: i64, then_unix: i64) -> String
Expand description

Renders the gap from then_unix to now_unix as a single largest unit. Times in the future (or under a minute old) render as just now.