hledger/tests/effective-date.test
2011-04-19 21:40:59 +00:00

27 lines
336 B
Plaintext

#
bin/hledger -f - print --effective
<<<
2009/1/1=1/2 x
a 1
b
>>>
2009/01/02 x
a 1
b -1
>>>2
>>>= 0
# Effective date of 29 Feb on leap year should be valid
bin/hledger -f - print --effective
<<<
2001/2/27=2000/2/29 x
a 1
b
>>>
2000/02/29 x
a 1
b -1
>>>2
>>>= 0