diff --git a/client/src/app/+stats/video/video-stats.component.ts b/client/src/app/+stats/video/video-stats.component.ts index 8200661c3..09ed37799 100644 --- a/client/src/app/+stats/video/video-stats.component.ts +++ b/client/src/app/+stats/video/video-stats.component.ts @@ -154,7 +154,9 @@ export class VideoStatsComponent implements OnInit { { label: $localize`Peak viewers`, value: this.numberFormatter.transform(overallStats.viewersPeak), - moreInfo: $localize`at ${new Date(overallStats.viewersPeakDate).toLocaleString()}` + moreInfo: overallStats.viewersPeak !== 0 + ? $localize`at ${new Date(overallStats.viewersPeakDate).toLocaleString()}` + : undefined } ] }