Skip to main content

parse_since

Function parse_since 

Source
pub fn parse_since(s: &str) -> Result<NaiveDate>
Expand description

Parse a “since” string into a date.

Supports:

  • Duration: “7d”, “2w”, “1m” (days, weeks, months)
  • Date: “2024-01-15”