2
AUTHORS
2
AUTHORS
@@ -110,5 +110,5 @@ suggestions:
|
|||||||
Arkady Grudzinsky
|
Arkady Grudzinsky
|
||||||
Bernhard B
|
Bernhard B
|
||||||
Aikido Guy
|
Aikido Guy
|
||||||
Gour D
|
Gour-Gadadhara Dasa
|
||||||
|
|
||||||
|
|||||||
@@ -311,8 +311,9 @@ void Task::parse (const std::string& input)
|
|||||||
{
|
{
|
||||||
// Experimental legacy value translation.
|
// Experimental legacy value translation.
|
||||||
if (name == "recur" &&
|
if (name == "recur" &&
|
||||||
value == "1m")
|
digitsOnly (value.substr (0, value.length () - 1)) &&
|
||||||
value = "1mo";
|
value[value.length () - 1] == 'm')
|
||||||
|
value += 'o';
|
||||||
|
|
||||||
(*this)[name] = decode (json::decode (value));
|
(*this)[name] = decode (json::decode (value));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user