Task: Deprecated the 'DUETODAY' virtual tag, which is a synonym for the 'TODAY'

virtual tag.

- Thanks to Tomas Babej
This commit is contained in:
Paul Beckingham 2016-03-29 07:52:38 -04:00
parent 6a790e3675
commit b2d49f3973
4 changed files with 5 additions and 3 deletions

View file

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