From f10e6e473b34df6b7cc2ac89215eb43bc5553903 Mon Sep 17 00:00:00 2001 From: admtracksteel Date: Mon, 22 Jun 2026 23:07:23 +0000 Subject: [PATCH] Deploy Inicial do SteelCheck com Docker Build Automatizado --- components/PrintableReport.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/PrintableReport.tsx b/components/PrintableReport.tsx index 3f60576..f7f59d9 100644 --- a/components/PrintableReport.tsx +++ b/components/PrintableReport.tsx @@ -6,6 +6,7 @@ interface PrintableReportProps { } const formatDate = (dateString: string) => { + if (!dateString) return ''; // Tries to parse common date formats like DD.MM.YYYY or YYYY-MM-DD const parts = dateString.split(/[.\-/]/); if (parts.length === 3) {