We receive an array of objects and each object has ISO standard date like “2016-11-15T04:34:46.928Z”. When I loop through and display the date in the table, it obviously displays just like it was sent “2016-11-15T04:34:46.928Z”, but we need to do custom formatting when we display and make it local date for the user. For example, the desired output shall be “15/11/2016 04:34 AM”
I googled for hours but can’t find any way to display formatted date with vuejs. Here is my code snippet:
What is a straight forward way to work with dates to display them formatted at the time when table is created, to avoid extra loops. Please point me to some code samples.