diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/src/app/+stats/video/video-stats.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/+stats/video/video-stats.component.ts b/client/src/app/+stats/video/video-stats.component.ts index 6e03da727..bfad4f823 100644 --- a/client/src/app/+stats/video/video-stats.component.ts +++ b/client/src/app/+stats/video/video-stats.component.ts | |||
@@ -528,7 +528,7 @@ export class VideoStatsComponent implements OnInit { | |||
528 | const date = new Date(label) | 528 | const date = new Date(label) |
529 | 529 | ||
530 | if (data.groupInterval.match(/ month?$/)) { | 530 | if (data.groupInterval.match(/ month?$/)) { |
531 | return date.toLocaleDateString([], { month: 'numeric' }) | 531 | return date.toLocaleDateString([], { year: '2-digit', month: 'numeric' }) |
532 | } | 532 | } |
533 | 533 | ||
534 | if (data.groupInterval.match(/ days?$/)) { | 534 | if (data.groupInterval.match(/ days?$/)) { |