1
I was looking at the ISO8601 that talks about the format of string
passed as argument for the date object.
On this site, the date returned is yesterday.
I’m passing the value '2017-08-03' to the date object and it returns me yesterday’s date, see:
data = '2017-08-03'
console.log(new Date(data));
Because in the jsfiddle different result occurs?
Wed Aug 02 2017 21:00:00 GMT-0300 (Hora oficial do Brasil)
Some fan came out distributing anonymous down votes
– BrTkCa