obsidian-tracker
obsidian-tracker copied to clipboard
Number format & multiple values
Hi,
In French, a number is formatted with a comma instead of a dot to separate units and decimals. It wasn't much of a problem before, but with Obsidian's recent update (1.4.5 I believe) numbers are only considered valid in the frontmatter if they have that comma and not a dot.
Which means that the Tracker cannot correctly parse those numbers and always truncates them, believing I assume that they're two different values.
Which isn't optimal at all to say the least. Obviously not a huge deal, but still.
To solve this, I suggest that the multiple values separator becomes configurable (with a comma as the default, that's fine), and everything that's not a that separator is put together as one value (be it with a split or a regex, I didn't check how it's done). Assuming of course that the parser knows that the comma can be a valid character of course.
While maybe not the best thing, you can use the separator
parameter to specify the multivalue separator as a workaround. Eg:
```tracker
searchType: frontmatter
searchTarget: mythingtotrack
separator: |
line:
```
(I used a |
but you can use any character you want)