pub fn parse_rfc3339(s: &str) -> Option<i64>Expand description
Read one of the timestamps iso_at writes: exactly YYYY-MM-DDTHH:MM:SSZ.
Hand-parsed rather than via OffsetDateTime::parse, which needs the time
crate’s parsing feature that vault-core deliberately does not enable — the
same reasoning as iso_at not using format. Nothing is lost by being
strict here: this only ever reads back a string this module wrote, and
anything else must be rejected anyway, because pools.json is a plain file
a user can edit and is_cooling has to treat garbage as “not cooling”
rather than “cooling forever”.