mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Enhancements - rules.cpp
- Converted rules.cpp to work under 1.8.0. - Relocated validReportColumns, validSortColumns to parse.cpp.
This commit is contained in:
parent
ac9dae9af8
commit
66011acbf8
5 changed files with 91 additions and 92 deletions
|
@ -390,7 +390,7 @@ int getDueState (const std::string& due)
|
|||
if (dt < midnight)
|
||||
return 2;
|
||||
|
||||
Date nextweek = midnight + 7 * 86400;
|
||||
Date nextweek = midnight + context.config.get ("due", 7) * 86400;
|
||||
if (dt < nextweek)
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue