summaryrefslogtreecommitdiff
path: root/src/print.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/print.cc')
-rw-r--r--src/print.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/print.cc b/src/print.cc
index 56a2ec7b..63f38d80 100644
--- a/src/print.cc
+++ b/src/print.cc
@@ -112,11 +112,11 @@ namespace {
std::ostringstream buf;
- buf << format_date(item_t::use_effective_date ?
- xact.date() : xact.actual_date(),
+ buf << format_date(item_t::use_aux_date ?
+ xact.date() : xact.primary_date(),
format_type, format);
- if (! item_t::use_effective_date && xact.effective_date())
- buf << '=' << format_date(*xact.effective_date(),
+ if (! item_t::use_aux_date && xact.aux_date())
+ buf << '=' << format_date(*xact.aux_date(),
format_type, format);
buf << ' ';