UDA
- Only 'recur' durations are stored in raw form. All others resolve to seconds. Thanks to Uli Martens.
This commit is contained in:
@@ -574,7 +574,7 @@ void Command::modify_task (
|
|||||||
|
|
||||||
// Deliberately storing the 'raw' value, which is necessary for
|
// Deliberately storing the 'raw' value, which is necessary for
|
||||||
// durations like 'weekday'..
|
// durations like 'weekday'..
|
||||||
task.set (name, value);
|
task.set (name, name == "recur" ? value : result);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Need handling for numeric types, used by UDAs.
|
// Need handling for numeric types, used by UDAs.
|
||||||
|
|||||||
Reference in New Issue
Block a user