diff --git a/client/src/app/+stats/video/video-stats.component.ts b/client/src/app/+stats/video/video-stats.component.ts index 5bde5b01d..8bd1ac1f2 100644 --- a/client/src/app/+stats/video/video-stats.component.ts +++ b/client/src/app/+stats/video/video-stats.component.ts @@ -527,7 +527,7 @@ export class VideoStatsComponent implements OnInit { const date = new Date(label) - if (data.groupInterval.match(/ month?$/)) { + if (data.groupInterval.match(/ months?$/)) { return date.toLocaleDateString([], { year: '2-digit', month: 'numeric' }) }