haddock fix

This commit is contained in:
Simon Michael 2008-11-24 00:14:11 +00:00
parent dc007e69a5
commit b3c0bba51e

View File

@ -534,7 +534,7 @@ y = do
return (y,"1","1")
-- | Parse a flexible date string, with awareness of the current time,
-- | and return a Date or raise an error.
-- and return a Date or raise an error.
smartparsedate :: String -> Date
smartparsedate s = parsedate $ printf "%04s/%02s/%02s" y m d
where (y,m,d) = fromparse $ parsewith smartdate s