summaryrefslogtreecommitdiff
path: root/src/timelog.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-02-28 03:18:58 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-02-28 03:18:58 -0600
commit6cbceb89286a4d0e4043b877cdf9f4f7471289c7 (patch)
tree09838d244c9fbbe037af4e578032b6bec5816352 /src/timelog.cc
parent52bca153dd7594915501a8a70de67369ac7788a5 (diff)
downloadfork-ledger-6cbceb89286a4d0e4043b877cdf9f4f7471289c7.tar.gz
fork-ledger-6cbceb89286a4d0e4043b877cdf9f4f7471289c7.tar.bz2
fork-ledger-6cbceb89286a4d0e4043b877cdf9f4f7471289c7.zip
Apply timelog time to the check-in day
Fixes #546
Diffstat (limited to 'src/timelog.cc')
-rw-r--r--src/timelog.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timelog.cc b/src/timelog.cc
index ee9a0b6c..5ab6a25c 100644
--- a/src/timelog.cc
+++ b/src/timelog.cc
@@ -89,7 +89,7 @@ namespace {
event.note = out_event.note;
std::auto_ptr<xact_t> curr(new xact_t);
- curr->_date = out_event.checkin.date();
+ curr->_date = event.checkin.date();
curr->code = out_event.desc; // if it wasn't used above
curr->payee = event.desc;
curr->pos = event.position;