Skip to content

Article from Mamadou Ouologuem

How to Create a Localized Date Pipe in Angular đź“…

October 11, 2021Mamadou Ouologuem6 min read

Usage of localized date pipe against standard date pipe

TLDR: To translate dates in Angular, we can think about three approaches: setting the app global locale, passing a specific locale to Angular date through arguments, or creating a custom localizedDate pipe. The localizedDate pipe combines Angular date pipe and the lib ngx-translate. This solution…

Continue reading →