* Martin Blais <bl...@furius.ca> [2018-03-30 23:56]: > - Found a bug in the example file: > > bergamot [hg|]:~/src/ledger2beancount$ ./bin/ledger2beancount > examples/illustrated.ledger > Can't parse date 03/28 at ./bin/ledger2beancount line 161.
You have to use --config examples/illustrated.yml because of the non-standard date foramt used. I used that because of of a bug in ledger but I'll see if I can remove it. > (This is out of the box, probably an easy fix.) > Idea: You may want to add a unit test on the running of the conversion on > each of the examples provided. I thought about doing that but illustrated.ledger won't pass bean-check after conversion because of the lot reduction (i.e. showing an example of something that's allowed n ledger but not in beancount). But I think that's ok since it's explained in the file. > - About the payee_match feature: Just wanted to point out the fix_payees > plugin: > https://bitbucket.org/blais/beancount/src/4c0eeea4c6c4f406c5400d3fb245087042293844/beancount/plugins/fix_payees.py?at=default&fileviewer=file-view-default > I'm not sure if it can do what Ledger does; but if you think it can be > modified to match your needs, let me know. Ah, this is very cool. I wasn't aware of that. I'll add it to the documentation. > - About "tag foo"; you can use > pushtag #foo > ... > poptag #foo > to achieve something similar (I think it's similar?) I completely forgot about pushtag. Thanks, I'll use that instead. Thanks for the feedback. -- Martin Michlmayr http://www.cyrius.com/ -- You received this message because you are subscribed to the Google Groups "Beancount" group. To unsubscribe from this group and stop receiving emails from it, send an email to beancount+unsubscr...@googlegroups.com. To post to this group, send email to beancount@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/20180331133819.pvnnkwxsdgyb663v%40jirafa.cyrius.com. For more options, visit https://groups.google.com/d/optout.