Skip to content

Commit

Permalink
Small tweak to make date slightly more useful.
Browse files Browse the repository at this point in the history
  • Loading branch information
scottstraughan committed Sep 27, 2024
1 parent cfaa72f commit ba9c45f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/app/pages/changed/changed.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,7 @@ export class ChangedComponent implements OnInit {
this.reload();
} else {
lastVisitDate = new Date();
lastVisitDate.setMonth(lastVisitDate.getMonth() - 5);
lastVisitDate.setDate(1);
lastVisitDate.setDate(lastVisitDate.getDate() - 14);

this.startDate.set(lastVisitDate);
this.onDateSelectorClicked();
Expand Down

0 comments on commit ba9c45f

Please sign in to comment.