mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-01 18:27:20 +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
|
@ -933,7 +933,7 @@ void Chart::calculateRates (std::vector <time_t>& sequence)
|
|||
int remaining_days = (int) (current_pending / (fix_rate - find_rate));
|
||||
|
||||
Date now;
|
||||
Duration delta (remaining_days * 86400);
|
||||
OldDuration delta (remaining_days * 86400);
|
||||
now += delta;
|
||||
|
||||
completion = now.toString (context.config.get ("dateformat"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue