mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-28 22:47:20 +02:00
Enhancement - special tags
- Implemented the 'nocal' special tag.
This commit is contained in:
parent
a345541ff7
commit
feeafb9b23
4 changed files with 9 additions and 5 deletions
|
@ -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 ()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue