Add: Formato DD-MM-YYYY para fechas de ingreso
This commit is contained in:
@@ -13,6 +13,7 @@ import {
|
||||
import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card';
|
||||
import { Badge } from '@/components/ui/badge';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { formatDateDDMMYYYY } from '@/lib/utils';
|
||||
import type { Vista, Internacion, Paciente, Cultivo } from '@/types';
|
||||
|
||||
interface DashboardProps {
|
||||
@@ -209,7 +210,7 @@ export function Dashboard({
|
||||
{paciente ? `${paciente.apellido}, ${paciente.nombre}` : 'Paciente no encontrado'}
|
||||
</p>
|
||||
<p className="text-sm text-gray-500">
|
||||
Ingreso: {internacion.fechaIngreso}
|
||||
Ingreso: {formatDateDDMMYYYY(internacion.fechaIngreso)}
|
||||
</p>
|
||||
</div>
|
||||
<Badge variant="outline" className="bg-purple-50 text-purple-700">
|
||||
|
||||
Reference in New Issue
Block a user