Closed yse closed 5 months ago
Thanks for reporting!
Is the behaviour explained and justified by this:
import
tries to follow the journal's existing commodity styles when it creates new entries.
During the first import, the journal contains no thousand commas, so the style for $ is no commas.
During the second import, because of the one thousand comma you added to the journal, the style with thousand commas is inferred for $, and used for the new entry.
Either avoiding adding unwanted thousand commas in the journal, or declaring the desired style explicitly in the journal with
commodity $1000.00
will prevent it.
Thanks a lot for clarifying. I've just used only D
directive. Commodity also specify style for reporting which is impressive.
Thank you for this remarkably beautiful and useful tool.
Environment:
Steps to Reproduce:
sample.csv
andsample.csv.rules
files from the examples directory on GitHub.sample.csv
:transaction.ledger
:sample.csv
:Expected Behavior:
The decimal mark handling should remain consistent across manual entries and CSV imports, respecting the formatting defined in the rules file or the default behavior of the system.
Actual Behavior:
Transactions imported from the CSV file after manually appending entries with a different decimal format in the ledger file show an unexpected change in the decimal mark format (introduction of a comma as the thousand separator).