When I use this file:
> cat journal.txt
Y2008

01/30 A
        Bank    130
        Income

02/01 B
        Bank    140
        Income

02/20 C
        Bank    150
        Income

03/01 D
        Bank    160
        Income

And I run ledger on it, the following output is produced:
> ledger -f journal.txt reg
2008/01/30 A                    Bank
130          130
                                Income
-130            0
2002/01/01 B                    Bank
140          140
                                Income
-140            0
2008/02/20 C                    Bank
150          150
                                Income
-150            0
2003/01/01 D                    Bank
160          160
                                Income
-160            0


The years are not at all what I expected. Is this a bug or am I
using a wrong file format?

Christopher

Reply via email to