diff --git a/alcs-frontend/src/app/shared/time-tracker/time-tracker.component.html b/alcs-frontend/src/app/shared/time-tracker/time-tracker.component.html
index 6a2453d0f6..386d8696d0 100644
--- a/alcs-frontend/src/app/shared/time-tracker/time-tracker.component.html
+++ b/alcs-frontend/src/app/shared/time-tracker/time-tracker.component.html
@@ -23,7 +23,7 @@
pause
{{ pausedDays }}
-
+
Due: {{ dueDate | momentFormat }}
Overdue
diff --git a/alcs-frontend/src/app/shared/time-tracker/time-tracker.component.ts b/alcs-frontend/src/app/shared/time-tracker/time-tracker.component.ts
index f804fe0455..9d8e38f169 100644
--- a/alcs-frontend/src/app/shared/time-tracker/time-tracker.component.ts
+++ b/alcs-frontend/src/app/shared/time-tracker/time-tracker.component.ts
@@ -36,7 +36,10 @@ export class TimeTrackerComponent implements OnChanges {
}
if (this.maxActiveDays) {
- this.dueDate = moment().subtract(this.activeDays, 'days').add(this.maxActiveDays, 'days').toDate();
+ this.dueDate = moment()
+ .subtract(this.activeDays, 'days')
+ .add(this.maxActiveDays - 1, 'days')
+ .toDate();
if (this.dueDate && this.dueDate.getTime() < Date.now()) {
this.isOverdue = true;