Skip to content Skip to sidebar Skip to footer

Angularjs Date Filter With /date(############) Format

I have a json object which I can load and parse using AngularJS. The FirstName and other fields are display as expected. I need to display the DateLogin which is json shows as '/Da

Solution 1:

Create a custom filter that converts it to a javascript date object and then returns the filtered result.

See: Converting json results to a date

And then just use the filter on the resulting object.

Post a Comment for "Angularjs Date Filter With /date(############) Format"