date fixed

This commit is contained in:
2025-07-25 20:47:18 +05:30
parent a5844ab088
commit ee27d1d9ca
6 changed files with 37 additions and 27 deletions

View File

@@ -537,9 +537,7 @@ export function PatientTable({
<div className="mt-2 space-y-2">
<p>
<span className="text-gray-500">Date of Birth:</span>{" "}
{new Date(
currentPatient.dateOfBirth
).toLocaleDateString()}
{formatDateToHumanReadable(currentPatient.dateOfBirth)}
</p>
<p>
<span className="text-gray-500">Gender:</span>{" "}