mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Unit Tests
- Fixed problem with determination of 'due today', which should have used Date::sameDay, but was based on old midnight dates.
This commit is contained in:
parent
7c8793b146
commit
d2fe093107
1 changed files with 1 additions and 1 deletions
|
@ -396,7 +396,7 @@ int getDueState (const std::string& due)
|
||||||
if (dt < rightNow)
|
if (dt < rightNow)
|
||||||
return 3;
|
return 3;
|
||||||
|
|
||||||
if (dt == thisDay)
|
if (rightNow.sameDay (dt))
|
||||||
return 2;
|
return 2;
|
||||||
|
|
||||||
int imminentperiod = context.config.getInteger ("due");
|
int imminentperiod = context.config.getInteger ("due");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue