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:
Paul Beckingham 2009-05-09 21:30:53 -04:00
parent e8443889bb
commit 72f84b3c3e
3 changed files with 4 additions and 7 deletions

View file

@ -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);