mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-30 03:23:51 -05:00
* fix(csv-import): trim whitespace from amount strings before parsing looselyParseAmount relies on a regex anchored at $ to detect decimal markers. Trailing whitespace (e.g. from Excel-saved CSVs) shifts the pattern match so a thousands separator is misidentified as a decimal point, producing wildly wrong values. Adding trim() at the top of the function eliminates trailing/leading whitespace before any regex logic runs. Fixes actualbudget/actual#7121 * chore: add release notes for #7149
7 lines
181 B
Markdown
7 lines
181 B
Markdown
---
|
|
category: Bugfixes
|
|
authors: [mibragimov]
|
|
---
|
|
|
|
Fix CSV import incorrectly parsing transaction amounts that contain trailing whitespace (e.g. amounts from Excel-saved CSV files).
|