Skip to main content

parse_range

Function parse_range 

Source
pub fn parse_range(
    begin: Option<&str>,
    end: Option<&str>,
    now: DateTime<Utc>,
) -> Result<Option<TimeRange>, String>
Expand description

Resolves the optional begin/end arguments. A lone begin runs up to now.