lib: document SmartDate

[ci skip]
This commit is contained in:
Simon Michael 2018-10-09 10:43:03 -07:00
parent dcf4c07ac8
commit ab26220b23

View File

@ -43,6 +43,9 @@ import Text.Printf
import Hledger.Utils.Regex
-- | A possibly incomplete date, whose missing parts will be filled from a reference date.
-- A numeric year, month, and day of month, or the empty string for any of these.
-- See the smartdate parser.
type SmartDate = (String,String,String)
data WhichDate = PrimaryDate | SecondaryDate deriving (Eq,Show)