Skip to content

Commit 8a4d090

Browse files
fix(ng/$locale): by default put negative sign before currency symbol
It seems that the case where the negative sign goes between the currency symbol and the numeric value is actually the special case and that locales that require this have it built in. So we should default to having the negative sign before the symbol. See http://cldr.unicode.org/translation/number-patterns and http://unicode.org/cldr/trac/ticket/5674 Closes angular#10158
1 parent 2a205c3 commit 8a4d090

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ng/locale.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ function $LocaleProvider() {
3535
maxFrac: 2,
3636
posPre: '\u00A4',
3737
posSuf: '',
38-
negPre: '(\u00A4',
39-
negSuf: ')',
38+
negPre: '-\u00A4',
39+
negSuf: '',
4040
gSize: 3,
4141
lgSize: 3
4242
}

0 commit comments

Comments
 (0)