parse_time

Function parse_time 

Source
pub fn parse_time(input: &str) -> Result<DateTime<Local>>
Expand description

Parse time string supporting multiple formats:

  • Absolute: “2025-12-25 10:00”
  • Relative: “30m”, “2h”, “1d”, “1w”
  • Natural: “tomorrow 9am”, “next monday 14:00”, “today 18:30”