fix timezone

This commit is contained in:
2026-01-01 01:14:24 -03:00
parent e3aff10140
commit 1abfd0e93e
3 changed files with 5 additions and 3 deletions

View File

@@ -66,7 +66,9 @@ export function Assigned({ courses }: AssignedProps) {
? state.enrollments.map((e: any) => ({
...e,
scheduled_for: e.scheduled_for
? DateTime.fromISO(e.scheduled_for, { zone: 'local' }).toJSDate()
? DateTime.fromISO(e.scheduled_for, {
zone: 'America/Sao_Paulo'
}).toJSDate()
: undefined
}))
: [emptyRow]