Enhancement - special tags

- Implemented the 'nocal' special tag.
This commit is contained in:
Paul Beckingham 2010-07-22 16:17:28 -07:00
parent a345541ff7
commit feeafb9b23
4 changed files with 9 additions and 5 deletions

View file

@ -1927,6 +1927,7 @@ std::string renderMonths (
foreach (task, all)
{
if (task->getStatus () == Task::pending &&
!task->hasTag ("nocal") &&
task->has ("due"))
{
std::string due = task->get ("due");
@ -2063,7 +2064,8 @@ int handleReportCalendar (std::string &outs)
{
if (task->getStatus () == Task::pending)
{
if (task->has ("due"))
if (task->has ("due") &&
!task->hasTag ("nocal"))
{
++countDueDates;
Date d (atoi (task->get ("due").c_str ()));