diff options
Diffstat (limited to 'src/xact.cc')
-rw-r--r-- | src/xact.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xact.cc b/src/xact.cc index 5818b687..14464c6f 100644 --- a/src/xact.cc +++ b/src/xact.cc @@ -77,6 +77,9 @@ optional<string> xact_t::get_tag(const mask_t& tag_mask, date_t xact_t::date() const { + if (xdata_ && is_valid(xdata_->date)) + return xdata_->date; + if (item_t::use_effective_date) { if (_date_eff) return *_date_eff; |