From ecb31432e11a38368607b15038b9f373bba01c2f Mon Sep 17 00:00:00 2001 From: Marcel-Anker Date: Wed, 19 Nov 2025 11:08:04 +0100 Subject: [PATCH] add helperfunction for date formating --- src/app/statistics/statistics.component.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/app/statistics/statistics.component.ts b/src/app/statistics/statistics.component.ts index 2c7b086..acc4b38 100644 --- a/src/app/statistics/statistics.component.ts +++ b/src/app/statistics/statistics.component.ts @@ -48,4 +48,9 @@ export class StatisticsComponent { } this.loading.hide(); } + + formatDate(date: Date) { + return new Date(date).toLocaleString("de"); + } + }