Enhancements
- Added text.cpp/ucFirst function to capitalize words, so that "pending" can now appear as "Pending" on the info report. This helps task pass many more test cases.
This commit is contained in:
@@ -309,7 +309,7 @@ std::string handleInfo ()
|
||||
table.addCell (row, 0, "ID");
|
||||
table.addCell (row, 1, task->id);
|
||||
|
||||
std::string status = Task::statusToText (task->getStatus ());
|
||||
std::string status = ucFirst (Task::statusToText (task->getStatus ()));
|
||||
|
||||
if (task->has ("parent"))
|
||||
status += " (Recurring)";
|
||||
|
||||
Reference in New Issue
Block a user