| |||||
| |||||
| Description | |||||
This module parses and prints RFC 1123 Date and Time string. In general you don't have to use this module directly. | |||||
| Synopsis | |||||
| |||||
| Documentation | |||||
| formatRFC1123DateTime :: ZonedTime -> String | |||||
| Format a System.Time.CalendarTime to RFC 1123 Date and Time string. | |||||
| formatHTTPDateTime :: UTCTime -> String | |||||
| Format a System.Time.ClockTime to HTTP Date and Time. Time zone will be always UTC but prints as GMT. | |||||
| parseHTTPDateTime :: ByteString -> Maybe UTCTime | |||||
Parse an HTTP Date and Time. Limitation: RFC 2616 (HTTP/1.1) says we must accept these three formats:
...but currently this function only supports the RFC 1123 format. This is a violation of RFC 2616 so this should be fixed later. What a bother! | |||||
| Produced by Haddock version 2.1.0 |