CmdStop: Fixed bug where wrong end date was applied

This commit is contained in:
Paul Beckingham 2016-04-11 17:15:38 -04:00
parent c77735d6ce
commit 100d567b79

View file

@ -65,7 +65,7 @@ int CmdStop (
latest.tags ().size ()) latest.tags ().size ())
{ {
// Contiguous with previous interval. // Contiguous with previous interval.
latest.start (latest.end ()); latest.start (modified.end ());
latest.end ({0}); latest.end ({0});
database.addInterval (latest); database.addInterval (latest);