1
0
Fork 0

Fix stats X axis with old videos

This commit is contained in:
Chocobozzz 2023-10-26 14:43:50 +02:00
parent 40a6dcb632
commit f9bbcd4ba2
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -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' })
}