angular moment - amParse date shows one day off

I am using Angular Moment for date formatting. I am using time ago and parse filters to show the dates in 'how many days ago'"myObject.myDateInMMDDYYYYFormat | amParse:'MM/DD/YYYY HH:mm:ss'But the output that shows is off by one day for all the dates except current date. i.e. For today(11/27) it shows correctly as '..hours ago' but for (11/26) it directly shows '2 days ago' instead of 'yesterday' and so on. Am I missing any configuration?...Read more