Reuben Cummings
Reuben Cummings
After removing extra spaces from your csv header, and pushing a few fixes, I get the following ofx export: ```xml DATA:OFXSGML ENCODING:UTF-8 0 INFO 20180627143708 ENG 0 INFO USD 382b0f5185773fa0f67a8ed8056c7759...
Seems perfectly reasonable. Also, why not keep the same name? The words differ by an `s`.
Great ideas! #22 partially addresses this. As of the commit closing that issue, you can set a custom date format in the mapping. Also, one thing to point out is...
I agree, I never really explained `split` in detail... it's [mentioned here](https://github.com/reubano/csv2ofx#optional-value-attributes) and is easiest to understand by comparing [`mint.csv`](https://github.com/reubano/csv2ofx/blob/master/data/test/mint.csv) (not split) to [`xero.csv`](https://github.com/reubano/csv2ofx/blob/master/data/test/xero.csv) (split). To parse `xero.csv` you would...
> Also, one thing to point out is that the mapping values don't have to be functions.. something like `{'date': 'txn_date'}` Sorry, I misspoke here.... `{'bank': 'My Bank'}` is a...
> To parse xero.csv you would add `--collapse Description --mapping xero` to the command. This works because [`xero.py`](https://github.com/reubano/csv2ofx/blob/master/csv2ofx/mappings/xero.py) has `mapping = {'is_split': True, ...}`.
``` ====================================================================== ERROR: Failure: Error (unsupported locale setting) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/travis/virtualenv/python3.5.6/lib/python3.5/site-packages/nose/failure.py", line 39, in runTest raise self.exc_val.with_traceback(self.tb) File "/home/travis/virtualenv/python3.5.6/lib/python3.5/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module)...
Did the above suggestion work? If not, can you add a few lines of your csv file to the issue?