Add: Formato DD-MM-YYYY para fechas de ingreso
This commit is contained in:
@@ -8,6 +8,7 @@ import { Label } from '@/components/ui/label';
|
||||
import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogTrigger } from '@/components/ui/dialog';
|
||||
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@/components/ui/select';
|
||||
import type { Internacion, Paciente, Cama, Area, Evolucion, Laboratorio, Cultivo } from '@/types';
|
||||
import { formatDateDDMMYYYY } from '@/lib/utils';
|
||||
|
||||
interface InternacionesProps {
|
||||
internaciones: Internacion[];
|
||||
@@ -333,7 +334,7 @@ export function Internaciones({
|
||||
</div>
|
||||
<div className="flex items-center gap-2 text-gray-600">
|
||||
<Calendar className="h-4 w-4" />
|
||||
<span>Ingreso: {internacion.fechaIngreso}</span>
|
||||
<span>Ingreso: {formatDateDDMMYYYY(internacion.fechaIngreso)}</span>
|
||||
</div>
|
||||
<div className="flex items-center gap-2 text-gray-600">
|
||||
<Stethoscope className="h-4 w-4" />
|
||||
|
||||
Reference in New Issue
Block a user