Answer the question
In order to leave comments, you need to log in
How to convert date to required format in angular-gantt?
Hello!
I am using angular chart-gantt demo
Here the dates are formatted, in my case the dates are displayed as: "2016-03-18T21:00:00.000Z"
I am using moment("2016-03-18T21:00:00.000Z").format( "dd-mm-yyyy");
everything hangs and the page falls. There is a link .
It shows how to use moment.js correctly.
But otherwise I have one result of the format: "2016-03-18T21:00:00.000Z"
How to correctly determine the date here?
Thank you!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question