diff --git a/ChangeLog b/ChangeLog index 8667161eb..5a1630b62 100644 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,8 @@ (thanks to Ralph Bean). - Added 'juhannus' as a synonym for 'midsommarafton' (thanks to Lynoure Braakman). +- Deprecated the 'DUETODAY' virtual tag, which is a synonym for the 'TODAY' + virtual tag. - Removed deprecated 'alias._query' setting. ------ current release --------------------------- diff --git a/NEWS b/NEWS index 91debe2dc..84f42d004 100644 --- a/NEWS +++ b/NEWS @@ -13,7 +13,8 @@ New Configuration Options in Taskwarrior 2.6.0 Newly Deprecated Features in Taskwarrior 2.6.0 - - + - The 'DUETODAY' virtual tag is a synonym for the 'TODAY' virtual tag, and is + not needed. Removed Features in 2.6.0 diff --git a/doc/man/task.1.in b/doc/man/task.1.in index 3a9670b91..ac6707c6e 100644 --- a/doc/man/task.1.in +++ b/doc/man/task.1.in @@ -682,7 +682,6 @@ are: COMPLETED Matches if the task has completed status DELETED Matches if the task has deleted status DUE Matches if the task is due - DUETODAY Matches if the task is due today LATEST Matches if the task is the newest added task MONTH Matches if the task is due this month ORPHAN Matches if the task has any orphaned UDA values diff --git a/src/Task.cpp b/src/Task.cpp index 6ac7c952c..884e7f23e 100644 --- a/src/Task.cpp +++ b/src/Task.cpp @@ -1212,7 +1212,7 @@ bool Task::hasTag (const std::string& tag) const #ifdef PRODUCT_TASKWARRIOR if (tag == "READY") return is_ready (); if (tag == "DUE") return is_due (); - if (tag == "DUETODAY") return is_duetoday (); + if (tag == "DUETODAY") return is_duetoday (); // 2016-03-29: Deprecated in 2.6.0 if (tag == "TODAY") return is_duetoday (); if (tag == "YESTERDAY") return is_dueyesterday (); if (tag == "TOMORROW") return is_duetomorrow ();