Include current day in heatmap statistic
All checks were successful
Java CI with Maven / test (push) Successful in 37s
Java CI with Maven / build-and-push-frontend (push) Successful in 7s
Java CI with Maven / build-and-push-backend (push) Successful in 8s

This commit is contained in:
Sebastian 2023-12-20 18:29:03 +01:00
parent 08352add9d
commit 3925828d1e

View File

@ -55,7 +55,7 @@ export class HeatmapActivityComponent implements OnInit{
this.historyService.statisticsTaskgroupActivityTaskgroupIDStartingDateEndingDateIncludeSubTaskgroupsGet( this.historyService.statisticsTaskgroupActivityTaskgroupIDStartingDateEndingDateIncludeSubTaskgroupsGet(
this.selectedTaskgroupPath.rootTasktroup.taskgroupID, this.selectedTaskgroupPath.rootTasktroup.taskgroupID,
moment().subtract(6, "months").format("YYYY-MM-DD"), moment().subtract(6, "months").format("YYYY-MM-DD"),
moment().format("YYYY-MM-DD"), moment().add(2, 'days').format("YYYY-MM-DD"),
true true
).subscribe({ ).subscribe({
next: resp => { next: resp => {
@ -106,7 +106,7 @@ export class HeatmapActivityComponent implements OnInit{
x: moment(currentDate).toDate(), x: moment(currentDate).toDate(),
y: 0 y: 0
} }
console.log(currentDate)
currentDate = currentDate.add(1, "days"); currentDate = currentDate.add(1, "days");
} }