Skip to content

Commit

Permalink
small fix to stats output
Browse files Browse the repository at this point in the history
  • Loading branch information
howeyc committed Jan 1, 2017
1 parent 463abb1 commit 7836746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/ledger/print.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
Expand Down

0 comments on commit 7836746

Please sign in to comment.