From 5b52199c0d7c42bd432f6f94bc2b1288eed17c91 Mon Sep 17 00:00:00 2001 From: marcoitaloesp-ai Date: Mon, 15 Dec 2025 15:44:43 +0000 Subject: [PATCH] =?UTF-8?q?v1.34.3:=20Corre=C3=A7=C3=A3o=20de=20formata?= =?UTF-8?q?=C3=A7=C3=A3o=20de=20data=20em=20Passivos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixed: - Data da próxima parcela agora formatada corretamente - Usa formatDate() para exibição legível localizada - Corrige timestamp ISO bruto --- CHANGELOG.md | 8 ++++++++ VERSION | 2 +- frontend/src/pages/Reports.jsx | 4 ++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 51ec440..974b7b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,14 @@ O formato segue [Keep a Changelog](https://keepachangelog.com/pt-BR/). Este projeto adota [Versionamento Semântico](https://semver.org/pt-BR/). +## [1.34.3] - 2025-12-15 + +### Fixed +- **Relatório de Passivos** - Corrigida formatação da data da próxima parcela + - Data agora usa `formatDate()` para exibição legível + - Corrige exibição de timestamp ISO bruto (ex: "2026-01-05T00:00:00.000000Z") + - Formato final: "05/01/2026" (localizado conforme idioma) + ## [1.34.2] - 2025-12-15 ### Fixed diff --git a/VERSION b/VERSION index 00e952d..7e3856f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.34.2 +1.34.3 diff --git a/frontend/src/pages/Reports.jsx b/frontend/src/pages/Reports.jsx index 307e01e..cedaec9 100644 --- a/frontend/src/pages/Reports.jsx +++ b/frontend/src/pages/Reports.jsx @@ -33,7 +33,7 @@ ChartJS.register( const Reports = () => { const { t } = useTranslation(); - const { currency } = useFormatters(); + const { currency, formatDate } = useFormatters(); const [activeTab, setActiveTab] = useState('summary'); const [loading, setLoading] = useState(true); @@ -1190,7 +1190,7 @@ const Reports = () => {
{t('reports.nextInstallment')}:
- {liability.next_installment.due_date} + {formatDate(liability.next_installment.due_date)} {currency(liability.next_installment.amount, liability.currency)}