pub fn validate_datetime(s: &str) -> Result<(), Code>
RFC 3339 with a mandatory offset. Returns Code::MissingTimezone when the value is well-formed but unzoned, since that is the common mistake.
Code::MissingTimezone