add helperfunction for date formating
This commit is contained in:
@@ -48,4 +48,9 @@ export class StatisticsComponent {
|
||||
}
|
||||
this.loading.hide();
|
||||
}
|
||||
|
||||
formatDate(date: Date) {
|
||||
return new Date(date).toLocaleString("de");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user