Skip to main content

parse_hhmm

Function parse_hhmm 

Source
pub fn parse_hhmm(s: &str) -> Option<u32>
Expand description

Parse "HH:MM" (or "H:MM") into minutes since midnight. Returns None on anything out of range or unparseable — used to filter the user’s fixed-time list without spilling errors.