howeyc / ledger

Command line double-entry accounting program
https://howeyc.github.io/ledger/
ISC License
455 stars 43 forks source link

balance dates wrong format #37

Closed porjo closed 2 years ago

porjo commented 2 years ago

If I specify a date range that doesn't contain any transactions, I get wrongly formatted date heading:

./ledger balance -f ledger.ledger --period Monthly Expenses Income --begin-date 2022/07/01 --end-date 2022/07/31
0001/01/01 - 0001/01/31
============================================================
------------------------------------------------------------
                                                        0.00