[Bps-public-commit] App-Todo branch, master, updated. 0.97-3-g516c06e

Thomas Sibley trs at bestpractical.com
Sat Oct 30 10:09:10 EDT 2010


The branch, master has been updated
       via  516c06e04d52c6ff503c01fd8226ddaba62e9efe (commit)
      from  284859b35f4f8b43d20e6ebd299d271d5a4a5799 (commit)

Summary of changes:
 bin/todo.pl |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

- Log -----------------------------------------------------------------
commit 516c06e04d52c6ff503c01fd8226ddaba62e9efe
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Sat Oct 30 10:08:51 2010 -0400

    Apply the same nitpicking as the last commit to due dates

diff --git a/bin/todo.pl b/bin/todo.pl
index 24d189b..c1130e5 100755
--- a/bin/todo.pl
+++ b/bin/todo.pl
@@ -279,14 +279,14 @@ sub list_tasks {
     for my $t (@$tasks) {
         printf "#%4s ", $locator->encode($t->{id});
 
-        print colored('(' . priority_to_string($t->{priority}) . ') ',
-                      priority_to_color($t->{priority}))
+        print colored('(' . priority_to_string($t->{priority}) . ')',
+                      priority_to_color($t->{priority})), ' '
             if $t->{priority} != 3;
 
         print colored($t->{summary}, priority_to_color($t->{priority}));
         
-        print colored(" (Due " . $t->{due} . ")",
-                      (overdue($t->{due}) ? 'magenta' : 'dark'))
+        print ' ', colored("(Due " . $t->{due} . ")",
+                           (overdue($t->{due}) ? 'magenta' : 'dark'))
             if $t->{due};
 
         if ($t->{tags}) {

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list