lib: fix a doctest in Hledger.Data.Dates

This commit is contained in:
Simon Michael 2016-12-29 11:15:01 -08:00
parent 90f440fdc4
commit f84324682e

View File

@ -330,6 +330,7 @@ fixSmartDateStrEither' d s = case parsewith smartdateonly (T.toLower s) of
-- | Convert a SmartDate to an absolute date using the provided reference date.
--
-- ==== Examples:
-- >>> :set -XOverloadedStrings
-- >>> let t = fixSmartDateStr (parsedate "2008/11/26")
-- >>> t "0000-01-01"
-- "0000/01/01"