AngularJS - Your first App - 6 / 11: Error in new Date

angularjs

#1

Hi,

i found a Bug not sure is it a error from codeacademy or from angular js.

In

pubdate: new Date ('2014','03','08'),

Gives us the result "2014-04-07T22:00:00.000Z"

Month and Day are not right.

if we type {{pubdate | date}}
We get Apr 8, 2014


#2

This post was flagged by the community and is temporarily hidden.