Enhancement
- Applied patch from Cory Donnelly to provide default current date to the edit command, for new annotations.
This commit is contained in:
@@ -7,6 +7,9 @@
|
|||||||
+ Summary report bar colors can now be specified with color.summary.bar
|
+ Summary report bar colors can now be specified with color.summary.bar
|
||||||
and color.summary.background configuration variables.
|
and color.summary.background configuration variables.
|
||||||
+ The configure script is more portable (thanks to Emil Sköldberg).
|
+ The configure script is more portable (thanks to Emil Sköldberg).
|
||||||
|
+ Updated task-faq.5 man page.
|
||||||
|
+ The 'edit' command now conveniently fills in the current date for new
|
||||||
|
annotations.
|
||||||
|
|
||||||
------ old releases ------------------------------
|
------ old releases ------------------------------
|
||||||
|
|
||||||
|
|||||||
@@ -168,9 +168,11 @@ static std::string formatTask (Task task)
|
|||||||
<< " " << anno->value () << std::endl;
|
<< " " << anno->value () << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
before << " Annotation: " << std::endl
|
Date now;
|
||||||
<< " Annotation: " << std::endl
|
before << " Annotation: " << now.toString (context.config.get ("dateformat")) << " " << std::endl
|
||||||
|
<< " Annotation: " << now.toString (context.config.get ("dateformat")) << " " << std::endl
|
||||||
<< "# End" << std::endl;
|
<< "# End" << std::endl;
|
||||||
|
|
||||||
return before.str ();
|
return before.str ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user