/// Find out the age of a task and get a friendly representation.
Find out the age of a task and get a friendly representation.
Find out the age of a task and get a friendly representation .
fn friendly_task_age(task: &Task) -> String {
  let dur =
    Utc::now().signed_duration_since(task.creation_date().cloned().unwrap_or_else(|| Utc::now()));
  friendly_duration(dur)
}
fn friendly_task_age ( task : & Task ) -> String { let dur = Utc :: now ( ) . signed_duration_since ( task . creation_date ( ) . cloned ( ) . unwrap_or_else ( | | Utc :: now ( ) ) ) ; friendly_duration ( dur ) }
Find out the age of a task and get a friendly representation.
Find out the age of a task and get a friendly representation .
task
&Task