mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Bug #839
- Fixed bug #839, which caused problems when recurrence frequencies of '1m' were used. This is an obsolete form, and should now be '1mo' (thanks to Gour D).
This commit is contained in:
parent
e478f6626b
commit
d3c6ddb87f
4 changed files with 11 additions and 1 deletions
|
@ -309,6 +309,11 @@ void Task::parse (const std::string& input)
|
|||
nl.skip (':') &&
|
||||
nl.getQuoted ('"', value))
|
||||
{
|
||||
// Experimental legacy value translation.
|
||||
if (name == "recur" &&
|
||||
value == "1m")
|
||||
value = "1mo";
|
||||
|
||||
(*this)[name] = decode (json::decode (value));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue