Skip to main content

format_date_at

Function format_date_at 

Source
pub fn format_date_at(ts: i64, now: i64, fmt: &DateFormat) -> String
Expand description

Same as format_date but with an explicit now timestamp so tests can pin the relative-date output to a known clock.