summaryrefslogtreecommitdiff
path: root/src/generate.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-02-28 03:02:16 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-02-28 03:02:16 -0600
commit656e46e1823ce00285f08f72d8473a58f9bd561a (patch)
tree46b5c2b9a246ad7380bc0f570280b59d48f97be6 /src/generate.cc
parent7a55c7ffc1e3565c82c746ea66dbb6af2e3d8509 (diff)
downloadfork-ledger-656e46e1823ce00285f08f72d8473a58f9bd561a.tar.gz
fork-ledger-656e46e1823ce00285f08f72d8473a58f9bd561a.tar.bz2
fork-ledger-656e46e1823ce00285f08f72d8473a58f9bd561a.zip
Renamed actual/effective dates to primary/auxiliary
Diffstat (limited to 'src/generate.cc')
-rw-r--r--src/generate.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/generate.cc b/src/generate.cc
index 185e23e7..963cd845 100644
--- a/src/generate.cc
+++ b/src/generate.cc
@@ -69,9 +69,9 @@ generate_posts_iterator::generate_posts_iterator
generate_date(next_date_buf);
next_date = parse_date(next_date_buf.str());
- std::ostringstream next_eff_date_buf;
- generate_date(next_eff_date_buf);
- next_eff_date = parse_date(next_eff_date_buf.str());
+ std::ostringstream next_aux_date_buf;
+ generate_date(next_aux_date_buf);
+ next_aux_date = parse_date(next_aux_date_buf.str());
}
@@ -326,8 +326,8 @@ void generate_posts_iterator::generate_xact(std::ostream& out)
next_date += gregorian::days(six_gen());
if (truth_gen()) {
out << '=';
- out << format_date(next_eff_date, FMT_WRITTEN);
- next_eff_date += gregorian::days(six_gen());
+ out << format_date(next_aux_date, FMT_WRITTEN);
+ next_aux_date += gregorian::days(six_gen());
}
out << ' ';