pub fn parse_rfc1123(s: &str) -> Result<OffsetDateTime>
Expand description
RFC 1123: Requirements for Internet Hosts - Application and Support
https://www.rfc-editor.org/rfc/rfc1123
In Azure REST API specifications it is specified as "format": "date-time-rfc1123"
.
In .NET it is the rfc1123pattern
.
https://docs.microsoft.com/dotnet/api/system.globalization.datetimeformatinfo.rfc1123pattern
This format is also the preferred HTTP date format. https://httpwg.org/specs/rfc9110.html#http.date
Sun, 06 Nov 1994 08:49:37 GMT