quentinsf / icsv2ledger

Interactive importing of CSV files to Ledger
196 stars 70 forks source link

Add option for --effective-date #59

Closed peterdc closed 10 years ago

peterdc commented 10 years ago

This patch allows for the specification of CSV column that contains a secondary date column such as a 'Posted Date'. Use of this option requires a custom template file.

I have hopefully updated all the right bits of the script as well as the help file.

The formatting of the effective date assumes both that the CSV only contains one date format AND that both the transaction date and effective date should be in the same ledger format. This conversion could probably be coded more cleanly, I'm open to suggestions.

peterdc commented 10 years ago

Jumped the gun here, this needs a bit more work stay tuned

peterdc commented 10 years ago

Okay, this version should be more ready for review, sorry for noise