Skip to content

Commit

Permalink
Merge pull request #99 from SwimResults/develop
Browse files Browse the repository at this point in the history
`Patch:` show "tomorrow" text only on the day before
  • Loading branch information
konrad2002 authored Jun 8, 2024
2 parents ae710d6 + b839855 commit 4d542ed
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/app/shared/layout/live-bar/live-bar.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,11 @@ export class LiveBarComponent implements OnInit, OnDestroy {
this.statusText = undefined;
}
} else {
this.statusText = "Bis Morgen. Erster Start um " + this.nextHeat.getStartDelayEstimationTime() + " Uhr";
if (now.getDate() == currentPlan.getDate()) {
this.statusText = "Bis Morgen. Erster Start um " + this.nextHeat.getStartDelayEstimationTime() + " Uhr";
} else {
this.statusText = "Der Wettkampf beginnt um " + this.nextHeat.getStartDelayEstimationTime();
}
}
}
} else {
Expand Down

0 comments on commit 4d542ed

Please sign in to comment.