crab_era computes time relative to the Crab Epoch (the commit of Rust 1.0, a59de37e).
Example:
use ;
use ;
let t_3339 = "2022-04-14T23:41:20+00:00";
let ndt = parse_from_rfc3339 .unwrap .naive_utc ;
let c = to_crab ;
let roundtripped = crab .unwrap ;
assert_eq! ;
assert_eq! ;
Made by 🦀 with 🦀 for 🦀 to 🦀