Translate Pipe Date Formatter

Hi all,

I’m using Pipes to format some dateTime object, {{elem.datetime | date:'d MMMM HH:mm'}}.

Everything is fine, but I really don’t understand how to translate months / days in another language!

Thanks
Stefano

1 Like

Found this solution:
http://stackoverflow.com/questions/34904683/how-to-set-locale-in-datepipe-in-angular2

I hope this can help someone else.

Thanks
Stefano