mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Bug Fix - due date, colorization
- Fixed bug that caused colorization to be way, way off. Silly mistake. - Fixed bug whereby due dates and durations were stored as-is, but should have been converted. - On a related note, added Date::toEpochString, Duration::operator (std::string).
This commit is contained in:
parent
f701f10234
commit
7e2da42f40
9 changed files with 57 additions and 45 deletions
|
@ -36,6 +36,8 @@
|
|||
#include "TDB.h"
|
||||
#include "main.h"
|
||||
|
||||
extern Context context;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// The ctor/dtor do nothing.
|
||||
// The lock/unlock methods hold the file open.
|
||||
|
@ -175,7 +177,7 @@ int TDB::load (std::vector <Task>& tasks, Filter& filter)
|
|||
numberStatusClauses != numberSimpleStatusClauses)
|
||||
loadCompleted (tasks, filter);
|
||||
else
|
||||
std::cout << "[1;31m# TDB::load optimization short circuit[0m" << std::endl;
|
||||
context.header ("load optimization short circuit");
|
||||
#else
|
||||
loadCompleted (tasks, filter);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue