Skip to main content

calendar_span

Function calendar_span 

Source
pub fn calendar_span(
    first: NaiveDateTime,
    last: NaiveDateTime,
    every: &str,
) -> String
Expand description

A span of windows in calendar terms, inclusive: 2024-01-01 to 2024-01-28 for days, weeks and months, to the minute for hours.