pub fn with_date(
interval: Duration,
date: DateTime<Utc>,
config: &DisplayConfig,
text: &Text,
) -> Result<String, StringifyError>Expand description
Stringify an interval with a configurable format. Years and months can be included, and they will be calculated with the given date as a reference point.
The default looks like “14 days, 6 hours and 56 minutes”.