Skip to main content

parse_local_time

Function parse_local_time 

Source
pub fn parse_local_time(s: &str) -> Option<i64>
Expand description

localtime('21:40:32.142') – a bare time-of-day, no offset allowed (a trailing Z/+HH:MM makes the whole string fail the strict digit/:/.-only parse above and correctly return None, the same “reject, don’t guess” stance as every other malformed-input case in this module).