mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-08 15:14:49 +03:00
change nulldate
This commit is contained in:
parent
5106938b4b
commit
4228c901e8
@ -566,9 +566,11 @@ justdatespan rdate = do
|
||||
mkdatespan :: String -> String -> DateSpan
|
||||
mkdatespan b = DateSpan (Just $ parsedate b) . Just . parsedate
|
||||
|
||||
nulldatespan :: DateSpan
|
||||
nulldatespan = DateSpan Nothing Nothing
|
||||
|
||||
nulldate = parsedate "1900/01/01"
|
||||
nulldate :: Day
|
||||
nulldate = parsedate "0000/00/00"
|
||||
|
||||
tests_Hledger_Data_Dates = TestList
|
||||
[
|
||||
|
Loading…
Reference in New Issue
Block a user