From 100d567b79968ce4463143f1e797e6e00bf65397 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Mon, 11 Apr 2016 17:15:38 -0400 Subject: [PATCH] CmdStop: Fixed bug where wrong end date was applied --- src/commands/CmdStop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/CmdStop.cpp b/src/commands/CmdStop.cpp index 83e6fc65..fbd479d5 100644 --- a/src/commands/CmdStop.cpp +++ b/src/commands/CmdStop.cpp @@ -65,7 +65,7 @@ int CmdStop ( latest.tags ().size ()) { // Contiguous with previous interval. - latest.start (latest.end ()); + latest.start (modified.end ()); latest.end ({0}); database.addInterval (latest);