beancount / ledger2beancount

Ledger to Beancount text-based converter
GNU General Public License v3.0
79 stars 15 forks source link

Can't parse date 2020/01/06 #251

Closed iartarisi closed 3 years ago

iartarisi commented 3 years ago

I'm getting this error when running ledger2beancount without any configuration:

Can't parse date 2020/01/06 (set date_format and date_format_no_year) at /usr/bin/ledger2beancount line 169.

According to https://ledger2beancount.readthedocs.io/guide/#dates that format should be allowed, i.e. YYYY/MM/DD. Is the documentation wrong or am I not reading it right?

tbm commented 3 years ago

It works for me. Are you sure you're using the latest version?

Actually, I think you have an old version because line 169 is something completely different now.

iartarisi commented 3 years ago

Hey, you're right. I'm on an old version: 2.0-1 from ubuntu.

Cheers.

tbm commented 3 years ago

There have been a lot of changes since 2.0. I suggest you use the latest from GitHub. If you run into issues with that, please open tickets.