mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-20 22:33:08 +02:00
Duration
- Renamed Duration object to OldDuration so that the two implementations can coexist in a binary.
This commit is contained in:
parent
9bfe40fac7
commit
18f03c25b4
20 changed files with 566 additions and 566 deletions
|
@ -337,7 +337,7 @@ Date getNextRecurrence (Date& current, std::string& period)
|
|||
// If the period is an 'easy' one, add it to current, and we're done.
|
||||
// If it throws an error, the duration was not recognized.
|
||||
int secs = 0;
|
||||
Duration du (period);
|
||||
OldDuration du (period);
|
||||
secs = du;
|
||||
|
||||
return current + secs;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue