Skip to main content

parse_time

Function parse_time 

Source
pub fn parse_time(time_str: &str) -> Option<NaiveTime>
Expand description

Parse time string in either 12 or 24 hour format Supports both HH:MM and HH:MM:SS formats. If seconds are not provided, defaults to 00.