fix(salary): parse Unicode whitespace grouping (#592)

* fix(salary): parse Unicode whitespace grouping

* docs(changelog): record fix for #592
This commit is contained in:
Rudy Mizrahi Celekli authored and GitHub committed 2026-10-18 07:16:55 +02:00
1 parent 8cc2efbf21
commit ef4d12711c
3 files changed
+68 -1

No files matched your search

+2 -1
View File
@@ -65,7 +65,8 @@ def parse_numeric_cell(value):
if not isinstance(value, str):
raise ValueError("not numeric")
text = value.strip().replace("\u00a0", " ").replace(" ", "")
# Localized exports also use narrow no-break and thin spaces for grouping.
text = "".join(value.split())
if not text:
raise ValueError("not numeric")
if "," in text and "." in text: