From 6cbceb89286a4d0e4043b877cdf9f4f7471289c7 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 28 Feb 2012 03:18:58 -0600 Subject: Apply timelog time to the check-in day Fixes #546 --- src/timelog.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/timelog.cc') 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 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; -- cgit v1.2.3