pub fn infer_timestamp_from_path(path: &str) -> Option<f64>Expand description
Try to extract a Unix timestamp from a file path or URL.
Recognises route-views-style timestamps like
oix-full-snapshot-2026-07-01-0000.bz2 (YYYY-MM-DD-HHMM, using the
embedded time of day) and PCH-style date components like
...2026.07.01.gz (YYYY.MM.DD, noon UTC). Returns None when no
recognisable date is found.