-
-
Notifications
You must be signed in to change notification settings - Fork 393
Inconsistent amount formatting in CSV output when using --budget #2555
Copy link
Copy link
Closed
Labels
A-BUGSomething wrong, confusing or sub-standard in the software, docs, or user experience.Something wrong, confusing or sub-standard in the software, docs, or user experience.affects3-fewAffects just a few users.Affects just a few users.annoyance2-minorMinor to moderate usability/doc bug, reasonably easy to avoid or tolerate.Minor to moderate usability/doc bug, reasonably easy to avoid or tolerate.balancebudgetThe balance command's --budget reportThe balance command's --budget reportcsvThe csv file format, csv output format, or generally CSV-related.The csv file format, csv output format, or generally CSV-related.
Description
Metadata
Metadata
Assignees
Labels
A-BUGSomething wrong, confusing or sub-standard in the software, docs, or user experience.Something wrong, confusing or sub-standard in the software, docs, or user experience.affects3-fewAffects just a few users.Affects just a few users.annoyance2-minorMinor to moderate usability/doc bug, reasonably easy to avoid or tolerate.Minor to moderate usability/doc bug, reasonably easy to avoid or tolerate.balancebudgetThe balance command's --budget reportThe balance command's --budget reportcsvThe csv file format, csv output format, or generally CSV-related.The csv file format, csv output format, or generally CSV-related.
hledger seems to be inconsistent in how it formats amounts in the CSV output of a budget report, based on whether
--budgetis passed or not.hledger version: hledger 1.51.2, linux-x86_64
Sample journal:
hledger balance without
--budgetignores the commodity formatting directive (I would say correctly):But hledger balance with
--budgetprints the amounts as per the commodity formatting directive, thus breaking CSV parsing of the output: