Thanks
I guess the only way to do this is by using a pipe. How do you use it?
I posted a link to a complete working pipe earlier in this very thread.
Either or, momentjs has locale settings you can use. As I said, I only use it because when I started the project I didnβt know the existence of date-fns. I will likely switch to that or try it in subsequent projects.
moment.locale(βenβ);
Switching to spanish would likely just be
moment.locale(βesβ);
Check this post How to install moment.js package and use it in an Ionic app?. It answers your question.