-
Notifications
You must be signed in to change notification settings - Fork 382
-
Any reason why comma is not shown in Fava/Journal, but in other pages it is there.
This is my file.
option "operating_currency" "IDR"
option "render_commas" "True"
2025年12月23日 custom "fava-option" "locale" "id_ID"
fava, version 1.30.9
Zen Browser 1.17.15b (Firefox 146.0.1) (64-bit)
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment 2 replies
-
For the units, prices and cost you mean? This is due to them being printed "raw", without going through the logic e.g. uses commas but also adjusts the displayed decimal precision (since we do not want to adjust the precision but render what was in the input file):
fava/src/fava/templates/_journal_table.html
Line 130 in 7921f11
So in some sense it's desired e.g. if you put 10.234 EUR, it won't be rendered as 10.23 EUR as it would be in other places in Fava but rather should look close to what you have in the input file. Not sure whether we need to apply that to commas as well or whether it would be better to apply the commas (and locale) for the rendering of the numbers.
Beta Was this translation helpful? Give feedback.
All reactions
-
Not sure whether we need to apply that to commas as well or whether it would be better to apply the commas (and locale) for the rendering of the numbers.
I hope it is. Reading currencies with a lot of zeros without separator is complete nightmare.
Beta Was this translation helpful? Give feedback.
All reactions
-
Beta Was this translation helpful? Give feedback.