We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28cacbf commit affe77bCopy full SHA for affe77b
react/02-ignite-timer/src/pages/history/index.tsx
@@ -3,8 +3,6 @@ import { useContext } from 'react'
3
import { CyclesContext } from '../../context/CyclesContext'
4
import * as S from './styles'
5
6
-import ptBR from 'date-fns/locale/pt-BR'
7
-
8
export function History() {
9
const { cycles } = useContext(CyclesContext)
10
@@ -30,7 +28,6 @@ export function History() {
30
28
<td>
31
29
{formatDistanceToNow(new Date(cycle.startDate), {
32
addSuffix: true,
33
- locale: ptBR,
34
})}
35
</td>
36
0 commit comments