mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-08 07:09:28 +03:00
lib: fix a doctest in Hledger.Data.Dates
This commit is contained in:
parent
90f440fdc4
commit
f84324682e
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user