[Bug #1014]
return the date time at start of day to perform the grouping by date correctly. FEA: ItEr74S04BugFixing
This commit is contained in:
parent
b9b11e8cb6
commit
d91a8a6831
1 changed files with 2 additions and 1 deletions
|
|
@ -24,6 +24,7 @@ package org.navalplanner.business.reports.dtos;
|
|||
import java.util.Date;
|
||||
import java.util.Set;
|
||||
|
||||
import org.joda.time.LocalDate;
|
||||
import org.joda.time.LocalTime;
|
||||
import org.navalplanner.business.labels.entities.Label;
|
||||
import org.navalplanner.business.resources.entities.Resource;
|
||||
|
|
@ -111,7 +112,7 @@ Resource resource,
|
|||
}
|
||||
|
||||
public Date getDate() {
|
||||
return date;
|
||||
return LocalDate.fromDateFields(date).toDateTimeAtStartOfDay().toDate();
|
||||
}
|
||||
|
||||
public void setDate(Date date) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue