Bug Fix - #316 timesheet report oddly sorted

- Fixed bug #316 which caused the timesheet report to display an
  oddly sorted list.  Mistakenly used 'std::cout << ...' instead of
  'out << ...'
This commit is contained in:
Paul Beckingham 2009-11-17 22:55:29 -05:00
parent e7c8114dff
commit fff789a509
2 changed files with 5 additions and 3 deletions

View file

@ -7,6 +7,8 @@
+ The 'delete' command is now aliased to 'rm' (thanks to Ivo Jimenez).
+ Fixed bug that showed a calendar for the year 2037 when 'task calendar due'
was run, and there are no tasks with due dates.
+ Fixed bug #316 which caused the timesheet report to display an oddly sorted
list.
------ old releases ------------------------------

View file

@ -1168,9 +1168,9 @@ int handleReportTimesheet (std::string &outs)
+ endString.toString (context.config.get ("dateformat", "m/d/Y"));
Color bold (Color::nocolor, Color::nocolor, false, true, false);
std::cout << std::endl
<< (color ? bold.colorize (title) : title)
<< std::endl;
out << std::endl
<< (color ? bold.colorize (title) : title)
<< std::endl;
// Render the completed table.
Table completed;