From 0f04d3064bdc847ae2fce8343a7fa1deb0cab95e Mon Sep 17 00:00:00 2001 From: dev Date: Thu, 24 Oct 2024 17:33:10 -0300 Subject: [PATCH] Corrigindo issue [#712] --- html/relatorio_geracao.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/html/relatorio_geracao.php b/html/relatorio_geracao.php index 83c35614..11779bd4 100755 --- a/html/relatorio_geracao.php +++ b/html/relatorio_geracao.php @@ -279,11 +279,16 @@ function quickQuery($query, $column) } if (isset($post[4]['inicio'])) { - echo (""); + $dataInicio = $post[4]['inicio']; + $modeloBrasileiro = 'd/m/Y'; + $dataInicioFormatada = date_format(date_create($dataInicio), $modeloBrasileiro); + echo (""); } if (isset($post[4]['fim'])) { - echo (""); + $dataFim = $post[4]['fim']; + $dataFimFormatada = date_format(date_create($dataFim), $modeloBrasileiro); + echo (""); } if (isset($post[5])) {