AndrewPoyntz / time-ago-pipe

An Angular pipe for converting a date string into a time ago
MIT License
130 stars 67 forks source link

I18n support #35

Open expertcoder6 opened 4 years ago

expertcoder6 commented 4 years ago

How will translate into different languages? ago

necm1 commented 3 years ago

It's sadly hardcoded. I would suggest do pick the code (don't forget the credits) and to add your own l18n support. After that you could do a PR if you want :-)

json-derulo commented 1 year ago

In case you are looking for a library with i18n support, check this out: https://json-derulo.github.io/angular-ecmascript-intl/#/pipes/relative-time