mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Task: Deprecated the 'DUETODAY' virtual tag, which is a synonym for the 'TODAY'
virtual tag. - Thanks to Tomas Babej
This commit is contained in:
parent
ea8a499769
commit
c44900bf8f
4 changed files with 5 additions and 3 deletions
|
@ -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.
|
||||
|
||||
2.5.1 (2016-02-24) 8b4ae3b54b44dfbd00b96cdd6dceb8dfe7cc1ea0
|
||||
|
|
3
NEWS
3
NEWS
|
@ -13,7 +13,8 @@ New Configuration Options in Taskwarrior 2.5.2
|
|||
|
||||
Newly Deprecated Features in Taskwarrior 2.5.2
|
||||
|
||||
-
|
||||
- The 'DUETODAY' virtual tag is a synonym for the 'TODAY' virtual tag, and is
|
||||
not needed.
|
||||
|
||||
Removed Features in 2.5.2
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue