From 78367464eb4d4fbe7a68aeb07c1fee2de57c0558 Mon Sep 17 00:00:00 2001 From: Chris Howey Date: Sun, 1 Jan 2017 15:36:24 -0600 Subject: [PATCH] small fix to stats output --- cmd/ledger/print.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/ledger/print.go b/cmd/ledger/print.go index b7af1153..ac760202 100644 --- a/cmd/ledger/print.go +++ b/cmd/ledger/print.go @@ -34,7 +34,7 @@ func PrintStats(generalLedger []*ledger.Transaction) { fmt.Printf("%-25s : %s to %s (%s)\n", "Transactions span", startDate.Format("2006-01-02"), endDate.Format("2006-01-02"), DurationInWords(endDate.Sub(startDate))) fmt.Printf("%-25s : %s\n", "Since last post", DurationInWords(time.Since(endDate))) - fmt.Printf("%-25s : %d, (%.1f per day)\n", "Transactions", len(generalLedger), float64(len(generalLedger))/days) + fmt.Printf("%-25s : %d (%.1f per day)\n", "Transactions", len(generalLedger), float64(len(generalLedger))/days) fmt.Printf("%-25s : %d\n", "Payees", len(payees)) fmt.Printf("%-25s : %d\n", "Referenced Accounts", len(accounts)) }