From a4d818b4070dc670833f4430b70656dc88ee4849 Mon Sep 17 00:00:00 2001 From: "Owen Corrigan (BJSS, VTM)" <122352145+owen-corrigan-bjss@users.noreply.github.com> Date: Fri, 15 Dec 2023 11:00:26 +0000 Subject: [PATCH] fix(cb2-10266): additional examiner notes date format (#1327) * fix(cb2-10266): fix issue with test history not displaying an date format * fix(cb2-10226): add clear template not working and date formate to examiner note in edit * fix(cb2-10226): fix build issues * fix(cb2-10226): remove additional empty line * fix(cb2-10226): remove additional empty line --------- Co-authored-by: Shivangi Das Co-authored-by: Thomas Crawley --- .../components/view-list-item/view-list-item.component.html | 4 +++- .../adr-examiner-notes-history.component.html | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/app/forms/components/view-list-item/view-list-item.component.html b/src/app/forms/components/view-list-item/view-list-item.component.html index c3572876f..f420c1a5e 100644 --- a/src/app/forms/components/view-list-item/view-list-item.component.html +++ b/src/app/forms/components/view-list-item/view-list-item.component.html @@ -28,7 +28,9 @@ Notes - {{ result.createdAtDate }} + + {{ result.createdAtDate | date : 'dd/MM/yyyy' | defaultNullOrEmpty }} + {{ result.lastUpdatedBy }} {{ result.note }} diff --git a/src/app/forms/custom-sections/adr-examiner-notes-history/adr-examiner-notes-history.component.html b/src/app/forms/custom-sections/adr-examiner-notes-history/adr-examiner-notes-history.component.html index 9f062d1e5..3021e5724 100644 --- a/src/app/forms/custom-sections/adr-examiner-notes-history/adr-examiner-notes-history.component.html +++ b/src/app/forms/custom-sections/adr-examiner-notes-history/adr-examiner-notes-history.component.html @@ -17,7 +17,7 @@ Notes - {{ examinerNote.createdAtDate }} + {{ examinerNote.createdAtDate | date : 'dd/MM/yyyy' | defaultNullOrEmpty }} {{ examinerNote.lastUpdatedBy }} {{ examinerNote.note }}