diff options
Diffstat (limited to 'entry.cc')
-rw-r--r-- | entry.cc | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -275,8 +275,9 @@ bool entry_base_t::finalize() amount_t final_cost; amount_t basis_cost; amount_t ann_amount = - commodity_t::exchange(x_amt, final_cost, basis_cost, - xact->cost, none, xact->actual_date(), + commodity_t::exchange(x_amt, final_cost, basis_cost, xact->cost, none, + datetime_t(xact->actual_date(), + time_duration_t(0, 0, 0)), entry ? entry->code : optional<string>()); if (xact->amount.annotated()) { |