Skip to main content

parse_time_arg

Function parse_time_arg 

Source
pub fn parse_time_arg(raw: &str) -> Option<u128>
Expand description

Parse RFC-3339 with second precision OR an integer ms epoch. The query endpoint accepts either form per the spec; we keep the parser tiny so we don’t pull chrono.