I have the following implementation:
minhaDataRetornada = "Dez 20, 2016";
minhaDataTratada = Date.parse(minhaDataRetornada);
console.log(minhaDataTratada);
Running the above code, my return is: NaN.
If I change the word Dez
to Dec
, it works perfectly.
I would like to know how to solve, since my webService
returns Dez
.