I'm using this code.:
date.toLocaleDateString('pt-BR')
- In my chrome browser the result is.: 9/13/2016
- When I run the tests in local.: 2016-09-13
- When I runt the tests in Circle CI.: 9/13/2016
What it happens?
Ps.: I'm using Jest and JSDom for my tests.