I had an idea for duplicate transaction handling so tried to use the python
module but am failing at the first step due to my date format not being
recognized.
>>> import ledger
>>> x=ledger.read_journal('ledger.dat')
While parsing file "ledger.dat", line 5:
While parsing transaction:
> 25/07/2019 PAYMENT BY AUTHORITY TO PAYPAL
Error: Year is out of valid range: 1400..10000
I have --date-format=%d/%m/%Y in my .ledgerrc file to deal with this but
the python module does not appear to read this.
Is there a way to specify such options to the read_journal() function in
python?
--
---
You received this message because you are subscribed to the Google Groups
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ledger-cli/1f00be21-7c18-49e1-9609-9033d0e17a2f%40googlegroups.com.