Hi,
I'm new to Ledger, so perhaps I missed something. I searched the group
archive but didn't find any solution.
My problem is the German date format: %d.%m.%Y
An example transaction looks like this:
15.03.2006 Exxon
Expenses:Auto:Gas 10,00 €
Liabilities:MasterCard-10,00 €
Hi Mike,
I have put the following into my .ledgerrc:
--input-date-format %d/%m/%Y
--date-format %d.%m.%Y
and then you can just run:
ledger reg -f test2.txt
on your example.
Martin
Am 07.03.2011 um 12:00 schrieb Michael Strecke:
> Hi,
>
> I'm new to Ledger, so perhaps I missed something. I se
Hi Martin,
interesting...
Perhaps not intuitive... but this combination of switches does solve the
problem.
Thank you
Mike
Am 08.03.2011 20:31, schrieb Martin Halder:
> Hi Mike,
>
> I have put the following into my .ledgerrc:
>
> --input-date-format %d/%m/%Y
> --date-format %d.%m.%Y
>
> and t
Hi,
using the the German date format would be nice, but the
proposed the solution breaks the Y directive for me, which
I have come to appreciate lately.
I've added the proposed --input-date-format %d/%m/%Y to
my ~/.ledgerrc.
This is what I have now:
Y2005
03/15 Exxon
Expenses:Auto:Gas