mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-29 17:07:19 +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
|
@ -343,13 +343,13 @@ bool Att::validNameValue (
|
|||
name == "until")
|
||||
{
|
||||
if (value != "")
|
||||
Date (value);
|
||||
value = Date (value).toEpochString ();
|
||||
}
|
||||
|
||||
else if (name == "recur")
|
||||
{
|
||||
if (value != "")
|
||||
Duration (value);
|
||||
value = (std::string) Duration (value);
|
||||
}
|
||||
|
||||
else if (name == "limit")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue