Paris Métro Graffiti

Making a LocaleUpperCasePipe for Angular

The Problem Angular uses pipes to help transform how data appears in the template. It provides a number of built-in pipes like DatePipe and UpperCasePipe. However, while working on a localization feature for a work project, a coworker pointed out that UpperCasePipe uses toUpperCase() under the hood. toUpperCase() is not locale aware, and will fail Read more about Making a LocaleUpperCasePipe for Angular[…]