Function httpdate::parse_http_date [] [src]

pub fn parse_http_date(s: &str) -> Result<SystemTime, Error>

Parse a date from an HTTP header field.

Supports the preferred IMF-fixdate and the legacy RFC 805 and ascdate formats. Two digit years are mapped to dates between 1970 and 2069.