mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Bug #461 - due:today doesn't work as a filter - due.is:today does
- Fixed bug #461, in which the filter 'due:today' failed, but 'due.is:today' worked. This is because while iterating over tasks, not every task has a due date, in which case Date::Date ("") was called, which fails. - Moved 'wait' up to second position in the Att::type method, for efficiency.
This commit is contained in:
parent
f2a5dde3a6
commit
69ac9a4296
4 changed files with 20 additions and 10 deletions
|
@ -71,8 +71,8 @@ qx{../task rc:wait.rc add wait:tomorrow tomorrow};
|
|||
$output = qx{../task rc:wait.rc ls};
|
||||
unlike ($output, qr/tomorrow/ms, 'waiting task invisible');
|
||||
|
||||
$output = qx{../task rc:wait.rc ls wait:tomorrow};
|
||||
like ($output, qr/tomorrow/ms, 'waiting task visible when specifically asked for it');
|
||||
$output = qx{../task rc:wait.rc all status:waiting wait:tomorrow};
|
||||
like ($output, qr/tomorrow/ms, 'waiting task visible when specifically queried');
|
||||
|
||||
# Cleanup.
|
||||
unlink 'pending.data';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue