From ebb8ccb182f1457674babc3f30ce9f127ca5501d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20L=C3=A1szl=C3=B3?= <rlacko99@gmail.com> Date: Tue, 11 May 2021 22:48:10 +0200 Subject: [PATCH] write full date in history list --- src/app/app.module.ts | 2 +- src/app/core/service-detail/service-detail.component.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 71cecaf..35169c4 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -41,7 +41,7 @@ import { ErrorDialogComponent } from './shared/error-dialog/error-dialog.compone provide: HTTP_INTERCEPTORS, useClass: ErrorInterceptor, multi: true, - }, + } ], bootstrap: [AppComponent], }) diff --git a/src/app/core/service-detail/service-detail.component.html b/src/app/core/service-detail/service-detail.component.html index a762337..ee38db6 100644 --- a/src/app/core/service-detail/service-detail.component.html +++ b/src/app/core/service-detail/service-detail.component.html @@ -138,7 +138,7 @@ </div> <div class='border-top mt-3 pt-3' *ngFor='let history of service.history; TrackBy: trackById'> <div> - {{history.createdAt}} + {{history.createdAt | date: "full"}} </div> <div> {{history.description}} -- GitLab