pub fn parse_time_from_user_input(
    time: &Option<String>
) -> PaceOptResult<NaiveDateTime>
Expand description

Parses time from user input

§Arguments

  • time - The time to parse

§Errors

PaceErrorKind::ParsingTimeFromUserInputFailed - If the time cannot be parsed

§Returns

The parsed time or None