]> gitweb @ CieloNegro.org - time-w3c.git/blobdiff - Data/Time/W3C/Format.hs
Haddock comments
[time-w3c.git] / Data / Time / W3C / Format.hs
index f3f9fac77d1bb37e79ee8b8fe3e8a8c9c9ed8c19..928032b0249893f1c0967f4f2d7ffaf7f73252bf 100644 (file)
@@ -1,3 +1,4 @@
+-- | Format W3C Date and Time strings.
 module Data.Time.W3C.Format
     ( format
     )
@@ -9,6 +10,9 @@ import Data.Time
 import Data.Time.W3C.Types
 
 
+-- | Format W3C Date and Time string from anything convertible to
+-- 'W3CDateTime' type. The most obvious acceptable type is the
+-- 'W3CDateTime' itself.
 format :: Convertible t W3CDateTime => t -> String
 format = format' . convert
     where