mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
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:
parent
c37f36510a
commit
47f5a45e47
3 changed files with 75 additions and 1 deletions
|
@ -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"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue