]> gitweb @ CieloNegro.org - time-http.git/blobdiff - Data/Time/Format/RFC822.hs
Rename Asctime -> C
[time-http.git] / Data / Time / Format / RFC822.hs
index 803d040fb901f65df3f1f7dc755c86cdff1b13f2..0d8fcacdacae3b7db0546fcc2498677fbb68803a 100644 (file)
@@ -1,3 +1,6 @@
+{-# LANGUAGE
+    UnicodeSyntax
+  #-}
 -- |This module provides functions to parse and format RFC 822 date
 -- and time strings (<http://tools.ietf.org/html/rfc822#section-5>).
 --
 -- >               | ("+" | "-") 4DIGIT ; Local diff: HHMM
 module Data.Time.Format.RFC822
     ( RFC822
+    , rfc822
     , rfc822DateAndTime
     )
     where
+import Data.Proxy
 import Data.Time.Format.RFC822.Internal
+
+-- |The proxy for conversions between RFC 822 date and time strings
+-- and 'ZonedTime'.
+rfc822 ∷ Proxy RFC822
+{-# INLINE CONLIKE rfc822 #-}
+rfc822 = Proxy