From 64c4ca8fb53835777a3de82c35be58a20daa3847 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cau=C3=AA=20Faleiros?= Date: Wed, 18 Mar 2026 09:39:55 -0300 Subject: [PATCH] style: add 2-digit year to calendar date display - Updated the DateRangePicker component to display the date in DD/MM/YY format (e.g. 18/03/26) instead of just DD/MM for better clarity. --- components/DateRangePicker.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/DateRangePicker.tsx b/components/DateRangePicker.tsx index 677ecbf..bfc7d79 100644 --- a/components/DateRangePicker.tsx +++ b/components/DateRangePicker.tsx @@ -20,7 +20,7 @@ export const DateRangePicker: React.FC = ({ dateRange, onC }; const formatShortDate = (date: Date) => { - return date.toLocaleDateString('pt-BR', { day: '2-digit', month: '2-digit', timeZone: 'America/Sao_Paulo' }); + return date.toLocaleDateString('pt-BR', { day: '2-digit', month: '2-digit', year: '2-digit', timeZone: 'America/Sao_Paulo' }); }; const parseLocalDate = (value: string) => {