Bug Fix - #368 Recur until date in task info table displays epoch seconds

- Fixed bug.
- Added unit tests to prevent recurrence.
This commit is contained in:
Paul Beckingham 2010-01-28 09:53:26 -05:00
parent c37f36510a
commit 47f5a45e47
3 changed files with 75 additions and 1 deletions

View file

@ -383,7 +383,14 @@ int handleInfo (std::string &outs)
{
row = table.addRow ();
table.addCell (row, 0, "Recur until");
table.addCell (row, 1, task->get ("until"));
Date dt (atoi (task->get ("until").c_str ()));
std::string format = context.config.get ("reportdateformat");
if (format == "")
format = context.config.get ("dateformat");
std::string until = getDueDate (*task, format);
table.addCell (row, 1, until);
}
if (task->has ("mask"))