Skip to main content

format

Function format 

Source
pub fn format(reset: Option<DateTime<Utc>>, now: DateTime<Utc>) -> String
Expand description

Format reset - now as a short human string.

Same buckets as claudebar; None for reset returns "—", matching the shell behavior where [[ -z "$ts" ]] short-circuits.