Fix: correcciones de accesibilidad y tipo de fecha

- Agregar title y description a UModal de gestión de impresoras
- Agregar description a UDrawer de guardar template
- Corregir tipo de parámetro formatDate para aceptar string | number
This commit is contained in:
2025-11-25 01:26:09 -06:00
parent 155995c773
commit fd7ba42288
3 changed files with 4 additions and 7 deletions

View File

@@ -29,8 +29,8 @@ const menuItems = computed(() => [
]
])
function formatDate(timestamp: number) {
return new Date(timestamp).toLocaleDateString('es-AR', {
function formatDate(date: string | number) {
return new Date(date).toLocaleDateString('es-AR', {
day: '2-digit',
month: 'short',
year: 'numeric'