Hi am trying to convert convert 2020-02-17
to (ddd, MMM Do YYYY
) using moment.js
transform(value: any, args?: any): any {
console.log(value)
console.log(moment(value).format("ddd, MMM Do YYYY"))
return moment(value).format("ddd, MMM Do YYYY");
}
i have created a pipe for it but it is returning me the value based on current date can somebody help