mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
CmdBurndown
- Converted from OldDuration to Duration.
This commit is contained in:
parent
3302707768
commit
5ee040f3a3
1 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@
|
|||
#include <Context.h>
|
||||
#include <Filter.h>
|
||||
#include <Date.h>
|
||||
#include <OldDuration.h>
|
||||
#include <Duration.h>
|
||||
#include <main.h>
|
||||
#include <i18n.h>
|
||||
#include <text.h>
|
||||
|
@ -932,7 +932,7 @@ void Chart::calculateRates (std::vector <time_t>& sequence)
|
|||
int remaining_days = (int) (current_pending / (_fix_rate - _find_rate));
|
||||
|
||||
Date now;
|
||||
OldDuration delta (remaining_days * 86400);
|
||||
Duration delta (remaining_days * 86400);
|
||||
now += delta;
|
||||
|
||||
// Prefer dateformat.report over dateformat.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue