ActivityPub-federated video streaming platform using P2P directly in your web browser
Add years when grouping by stats by month
Chocobozzz418db8ac9907
diff --git a/client/src/app/+stats/video/video-stats.component.ts b/client/src/app/+stats/video/video-stats.component.tsindex 6e03da727a..bfad4f8236 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 {const date = new Date(label)if (data.groupInterval.match(/ month?$/)) {- return date.toLocaleDateString([], { month: 'numeric' })+ return date.toLocaleDateString([], { year: '2-digit', month: 'numeric' })}if (data.groupInterval.match(/ days?$/)) {