Currently using a German PC with browser locale set to de
. Also installed the following JS library:
<script src="//code.angularjs.org/1.5.6/i18n/angular-locale_de-de.js"></script>
The issue is that {{mydate | date:'shortDate'}}
still displays as 16\05\05
.
It should actually be displaying as 05.05.16
.
Additionally, when printing numbers like {{mynumber | number}}
, it shows as 9.9
instead of 9,9
.
It's not surprising that Angular prints "console.log($locale)" as:
id: "en-us"
localeID: "en_US"
But why? What could possibly be missing in this scenario?