Improved support for open tasks from days before
authorJoey Schulze <joey@infodrom.org>
Mon, 17 Nov 2008 14:42:55 +0000 (14:42 +0000)
committerJoey Schulze <joey@infodrom.org>
Mon, 17 Nov 2008 14:42:55 +0000 (14:42 +0000)
src/InfoCon/stempel/stempel

index 9f69d77..6d316ee 100755 (executable)
@@ -166,8 +166,8 @@ sub list_open
            my @d = split(/-/, $day);
 
            if ($d[0] != $d_year+1900 || $d[1] != $d_mon+1 || $d[2] != $d_mday) {
-               printf "Task not started today, aborting.\n";
-               next;
+               printf "Task not started today.\n";
+               next if $exit eq 1;
            }
 
            my @t = split(/:/, $arr[1]);