Skip to main content

ts_sort_key

Function ts_sort_key 

Source
pub fn ts_sort_key(iso: &str) -> u64
Expand description

A coarse chronological sort key from an ISO-8601 timestamp: its first 14 digits (YYYYMMDDHHMMSS), so a fractional-second line key compares against a second-resolution step key without parsing. 0 when there aren’t 14 digits.