From c015a29f28aa284d2b3f6b8cd47d48d32884d771 Mon Sep 17 00:00:00 2001 From: Rithvik Nishad Date: Wed, 13 Dec 2023 10:57:42 +0530 Subject: [PATCH] fixes #6810; format date and time for discharge date (#6813) --- .../Facility/ConsultationDetails/ConsultationUpdatesTab.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Components/Facility/ConsultationDetails/ConsultationUpdatesTab.tsx b/src/Components/Facility/ConsultationDetails/ConsultationUpdatesTab.tsx index 0d8a70781da..beac7f595a8 100644 --- a/src/Components/Facility/ConsultationDetails/ConsultationUpdatesTab.tsx +++ b/src/Components/Facility/ConsultationDetails/ConsultationUpdatesTab.tsx @@ -233,7 +233,7 @@ export const ConsultationUpdatesTab = (props: ConsultationTabProps) => { ? formatDate( props.consultationData.discharge_date ) - : "--/--/----"} + : "--/--/---- --:-- --"}
@@ -294,10 +294,10 @@ export const ConsultationUpdatesTab = (props: ConsultationTabProps) => { Discharge Date {" - "} {props.consultationData.discharge_date - ? formatDate( + ? formatDateTime( props.consultationData.discharge_date ) - : "--/--/----"} + : "--/--/---- --:-- --"}