Bug #1357: Use end date minus one day as default date for earned value chart.
The end date of the time intervals managed by ChartFillers don't include the end date, so it was wrong considering it as a correct date. FEA: ItEr76S04BugFixing
This commit is contained in:
parent
dde910ff8d
commit
0d96d48197
1 changed files with 1 additions and 1 deletions
|
|
@ -409,7 +409,7 @@ public abstract class EarnedValueChartFiller extends ChartFiller {
|
|||
Interval chartInterval = getIndicatorsDefinitionInterval();
|
||||
LocalDate today = new LocalDate();
|
||||
return includes(chartInterval, today) ? today : chartInterval
|
||||
.getFinish();
|
||||
.getFinish().minusDays(1);
|
||||
}
|
||||
protected void addZeroBeforeTheFirstValue(
|
||||
SortedMap<LocalDate, BigDecimal> map) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue