Skip to content

Conversation

@Wigny
Copy link
Contributor

@Wigny Wigny commented Oct 30, 2025

In #5, the CSV columns mapping was updated to take into account the new third column Date Time of the CSV file, but while building the memo in _make_memo, we are still using the wrong mapping.

This MR updates the code to correctly map the CSV columns by grabbing values based on the column names instead of the column indexes. Additionally, reads the trntype from the new Transaction Type column and date from Date Time.

Uses snapshot testing to easily assert changes on the logic.

@kedder
Copy link
Owner

kedder commented Oct 30, 2025

Hm, good catch! Looks good, just fix the tests please.

@kedder kedder merged commit ede9637 into kedder:master Oct 30, 2025
3 checks passed
@kedder
Copy link
Owner

kedder commented Oct 30, 2025

ofxstatement-transferwise-1.2.0 released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants