Recently started working with Angular, I'm receiving object data from an API call.
data= [
{
"Id": 4,
"IssueDate": "2021-01-25T15:17:00.85",
"ExpiryDate": "2021-01-25T15:25:40.263",
},
{
"Id": 5,
"IssueDate": "2021-01-25T15:25:40.263",
"ExpiryDate": "2021-01-25T15:25:40.263"
}
]
I've noticed that the IssueDate and ExpiryDate are in different formats. Is there a way to change both dates to DD-MM-YYYY
format?