Skip to main content

parse_iso

Function parse_iso 

Source
pub fn parse_iso(value: Option<&str>) -> Option<f64>
Expand description

Parse an ISO-8601 / RFC-3339 timestamp to epoch seconds (mirrors Python datetime.fromisoformat(...).timestamp() for the Z/offset forms used in transcripts). Returns None on empty/unparseable input.