I want to use angular date pipe, but it cause error, because when I get date from my Mongoose it's in this bad format 2016-02-29T23:00:00.000Z and Angular pipe cant handle it. I set up schema in Mongoose, but it didn't help. It's there any more elegant way, ideally on Mongoose side, how to convert this to date object or timestamp?
Thank.