Function chrono::format::scan::timezone_offset_2822
source ยท pub(super) fn timezone_offset_2822(s: &str) -> ParseResult<(&str, i32)>
Expand description
Same as timezone_offset
but also allows for RFC 2822 legacy timezones.
May return None
which indicates an insufficient offset data (i.e. -0000
).
See RFC 2822 Section 4.3.