Closed hobeika closed 8 years ago
Hi, I merged in another branch that handles commas in more spots than your pull requests. If ofxparse is still pertinent to you, could you test your .ofx files with an updated copy of master to see if it works?
Jerry Seutter notifications@github.com writes:
Hi, I merged in another branch that handles commas in more spots than your pull requests. If ofxparse is still pertinent to you, could you test your .ofx files with an updated copy of master to see if it works?
That's great! My pull request was not of a very good quality.
Thanks for patching this!
I will try this and report if there is any troubles.
Thanks again for your time and the great work!
Vincent Hobeïka
Some banks provide amounts with a comma rather than a dot for decimals. ofxparse ends up triggering exceptions like "Empty ledger balance" or "Invalid Transaction Amount".
Since locales can be tricky, it is easier to just replace the comma by a dot.