Skip to content

Commit

Permalink
fixes #6810; format date and time for discharge date (#6813)
Browse files Browse the repository at this point in the history
  • Loading branch information
rithviknishad authored Dec 13, 2023
1 parent f8aae49 commit c015a29
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ export const ConsultationUpdatesTab = (props: ConsultationTabProps) => {
? formatDate(
props.consultationData.discharge_date
)
: "--/--/----"}
: "--/--/---- --:-- --"}
</span>
</div>
<div>
Expand Down Expand Up @@ -294,10 +294,10 @@ export const ConsultationUpdatesTab = (props: ConsultationTabProps) => {
Discharge Date {" - "}
<span className="font-semibold">
{props.consultationData.discharge_date
? formatDate(
? formatDateTime(
props.consultationData.discharge_date
)
: "--/--/----"}
: "--/--/---- --:-- --"}
</span>
</div>
<div>
Expand Down

0 comments on commit c015a29

Please sign in to comment.