pub fn parse_relative_time(s: &str) -> Result<SystemTime>Expand description
Parse a relative time string like “3 days” or “-3 days” into a SystemTime.
§Errors
Returns an error if the string cannot be parsed.
pub fn parse_relative_time(s: &str) -> Result<SystemTime>Parse a relative time string like “3 days” or “-3 days” into a SystemTime.
Returns an error if the string cannot be parsed.