refactor(transactions): remover exports mortos dateFormatter e monthFormatter

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Felipe Coutinho
2026-05-02 22:08:45 +00:00
parent 4a73088c09
commit d55173e8c1

View File

@@ -11,23 +11,6 @@ import { capitalize } from "@/shared/utils/string";
export { currencyFormatter }; export { currencyFormatter };
/**
* Date formatter for pt-BR locale (dd/mm/yyyy)
*/
export const dateFormatter = new Intl.DateTimeFormat("pt-BR", {
day: "2-digit",
month: "2-digit",
year: "numeric",
});
/**
* Month formatter for pt-BR locale (Month Year)
*/
export const monthFormatter = new Intl.DateTimeFormat("pt-BR", {
month: "long",
year: "numeric",
});
/** /**
* Formats a date string to localized format * Formats a date string to localized format
* @param value - ISO date string or null * @param value - ISO date string or null