mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Bug Fix - recur.t
- Fixed bug that causes recur.t to fail. The "recur:" duration was being converted to days, whereas it should have been kept as a literal.
This commit is contained in:
parent
96be49b78d
commit
af606598fa
1 changed files with 3 additions and 1 deletions
|
@ -344,14 +344,16 @@ bool Att::validNameValue (
|
|||
else if (name == "due" ||
|
||||
name == "until")
|
||||
{
|
||||
// Validate and convert to epoch.
|
||||
if (value != "")
|
||||
value = Date (value).toEpochString ();
|
||||
}
|
||||
|
||||
else if (name == "recur")
|
||||
{
|
||||
// Just validate, don't convert to days.
|
||||
if (value != "")
|
||||
value = (std::string) Duration (value);
|
||||
Duration (value);
|
||||
}
|
||||
|
||||
else if (name == "limit")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue