fix date and start to translate to pt-br

This commit is contained in:
Raphael Canguçu
2023-02-08 15:43:23 -03:00
parent 3605579b1b
commit 49e47b28de
8 changed files with 602 additions and 1 deletions

View File

@ -31,7 +31,7 @@ export const formatDateString = (date: string | DateRange, formatStr: string): s
if (isString(date)) {
if (!dayjs(date).isValid()) return null;
return dayjs.utc(date).local().format(formatStr);
return dayjs.utc(date).format(formatStr);
}
// If `date` is a DateRange