Skip to main content

relative_time

Function relative_time 

Source
pub fn relative_time(iso: &str) -> String
Expand description

Human-friendly timestamp. Past values within a week are relative; anything older, or in the future, renders as an absolute date.