Skip to main content

time_until

Function time_until 

Source
pub fn time_until(from: OffsetDateTime, to: OffsetDateTime) -> String
Expand description

How far away to is, at the coarsest sensible unit: minutes under an hour, hours under 36 hours, calendar days thereafter. Calendar-day counts use Eastern dates. Kickoff is a deadline, so once it arrives the answer stops counting rather than going negative.