hledger/tests/parse-dates.test
2010-05-22 00:52:45 +00:00

16 lines
229 B
Plaintext

# dates with bad month or day numbers should be rejected
bin/hledger -f- print
<<<
2010/31/12 x
a 1
b
>>>2 /bad month number: 31/
>>>= 1
bin/hledger -f- print
<<<
2010/12/32 x
a 1
b
>>>2 /bad day number: 32/
>>>= 1