Bug Fix - "done" tasks missing end date
- Tasks marked "done" were not assigned an end date before being written to the file. Fortunately this only affects beta testers who, by definition, like to live on the edge. - Added better text in the NEWS file regarding the github issue tracker. - Cleaned up text a little in the "help" report output.
This commit is contained in:
@@ -603,7 +603,7 @@ std::string handleDone (TDB& tdb, T& task, Config& conf)
|
||||
// Add an end date.
|
||||
char entryTime[16];
|
||||
sprintf (entryTime, "%u", (unsigned int) time (NULL));
|
||||
task.setAttribute ("end", entryTime);
|
||||
seq->setAttribute ("end", entryTime);
|
||||
|
||||
// Change status.
|
||||
seq->setStatus (T::completed);
|
||||
|
||||
Reference in New Issue
Block a user