haddock fix

This commit is contained in:
Simon Michael 2011-07-17 23:14:51 +00:00
parent 55033b6e79
commit 9db32e0f60
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
{-|
hledger-web - a hledger add-on providing rudimentary pie chart generation.
hledger-chart - a hledger add-on providing rudimentary pie chart generation.
Copyright (c) 2007-2011 Simon Michael <simon@joyful.com>
Released under GPL version 3 or later.
-}

View File

@ -562,7 +562,7 @@ justdatespan rdate = do
return $ spanFromSmartDate rdate d
-- | Make a datespan from two valid date strings parseable by parsedate
-- (or raise an error). Eg: mkdatespan "2011/1/1" "2011/12/31".
-- (or raise an error). Eg: mkdatespan \"2011/1/1\" \"2011/12/31\".
mkdatespan :: String -> String -> DateSpan
mkdatespan b = DateSpan (Just $ parsedate b) . Just . parsedate