{{product.pubdate | date}}


#1



https://www.codecademy.com/courses/learn-angularjs/lessons/your-first-app/exercises/your-first-app-filters-ii


Hi, everyone

It's not about an error exactly, but I've got a following question:
If we have this data, according to the samples provided, in MainController.js:

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

why it's shown not as 8th of March, but 8th of April?

The same applies to other books that appear later.

Thanks in advance!


#2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.