Duration
- Renamed Duration object to OldDuration so that the two implementations can coexist in a binary.
This commit is contained in:
@@ -1287,7 +1287,7 @@ void Task::validate (bool applyDefault /* = true */)
|
||||
// Recur durations must be valid.
|
||||
if (has ("recur"))
|
||||
{
|
||||
Duration d;
|
||||
OldDuration d;
|
||||
if (! d.valid (get ("recur")))
|
||||
throw std::string (format (STRING_TASK_VALID_RECUR, get ("recur")));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user