summaryrefslogtreecommitdiff
path: root/src/stats.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-13 00:42:25 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-13 00:42:25 -0400
commit40f553228f5a28034c6635fdcb4c86af28a385ed (patch)
tree2c40305c9f9841a4c3d453a4a5c49ec69056b4b2 /src/stats.cc
parent556211e623cad88213e5087b5c9c36e754d9aa02 (diff)
parentb1b4e2aadff5983d443d70c09ea86a41b015873f (diff)
downloadfork-ledger-40f553228f5a28034c6635fdcb4c86af28a385ed.tar.gz
fork-ledger-40f553228f5a28034c6635fdcb4c86af28a385ed.tar.bz2
fork-ledger-40f553228f5a28034c6635fdcb4c86af28a385ed.zip
Merge branch 'next'
Diffstat (limited to 'src/stats.cc')
-rw-r--r--src/stats.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/stats.cc b/src/stats.cc
index 86a8338d..172971aa 100644
--- a/src/stats.cc
+++ b/src/stats.cc
@@ -58,11 +58,11 @@ value_t report_statistics(call_scope_t& args)
{
straccstream accum;
out << ACCUM(accum << _("Time period: %1 to %2 (%3 days)")
- << format_date(statistics.earliest_post)
- << format_date(statistics.latest_post)
- << (statistics.latest_post -
- statistics.earliest_post).days())
- << std::endl << std::endl;
+ << format_date(statistics.earliest_post)
+ << format_date(statistics.latest_post)
+ << (statistics.latest_post -
+ statistics.earliest_post).days())
+ << std::endl << std::endl;
}
out << _(" Files these postings came from:") << std::endl;
@@ -89,12 +89,12 @@ value_t report_statistics(call_scope_t& args)
out << " (";
out.precision(2);
out << (double((statistics.latest_post - statistics.earliest_post).days()) /
- double(statistics.posts_count)) << _(" per day)") << std::endl;
+ double(statistics.posts_count)) << _(" per day)") << std::endl;
out << _(" Uncleared postings: ");
out.width(6);
out << (statistics.posts_count -
- statistics.posts_cleared_count) << std::endl;
+ statistics.posts_cleared_count) << std::endl;
out << std::endl;