0

I have basically a date '2017-08-03T05:46:35.046328Z' & I want to parse this using angular 2 - moment in this format 'MM/DD/YYYY 12.00AM/PM.

4

1 回答 1

1
moment('2017-08-03T05:46:35.046328Z').format('MM/DD/YYYY h:mm a')

我希望您已设法将其angular-moment纳入您的项目。

于 2017-08-03T10:28:37.517 回答