How to set locale in DatePipe in Angular 2?
<p>I want to display Date using European format <code>dd/MM/yyyy</code> but using DatePipe <strong>shortDate</strong> format it only display using US date style <code>MM/dd/yyyy</code>.
<br>
I'm assuming thats the default locale is en_US. Maybe I am missing in the docs but how can I change the default locale settings in an Angular2 app? Or maybe is there some way to pass a custom format to DatePipe ?</p>