mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
parent
d3c6ddb87f
commit
a40d1bbf76
2 changed files with 4 additions and 3 deletions
|
@ -311,8 +311,9 @@ void Task::parse (const std::string& input)
|
|||
{
|
||||
// Experimental legacy value translation.
|
||||
if (name == "recur" &&
|
||||
value == "1m")
|
||||
value = "1mo";
|
||||
digitsOnly (value.substr (0, value.length () - 1)) &&
|
||||
value[value.length () - 1] == 'm')
|
||||
value += 'o';
|
||||
|
||||
(*this)[name] = decode (json::decode (value));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue