-
Notifications
You must be signed in to change notification settings - Fork 26.4k
Description
🐞 bug report
Affected Package
The issue is caused by package @angular/common
Is this a regression?
No
Description
The original bug was closed by a bot before it was solved (see #20708).
@ocombe wrote:
Since CLDR doesn't contain formats for finance currencies, I don't think that we can fix that. They have formats for currency accounting, but it doesn't seem to be that.
The description for the currency pattern that we use is:Used for currency values. A currency symbol (¤) is will be replaced by the appropriate currency symbol for whatever currency is being formatted. The choice of whether to use the international currency symbols (USD, EUR, JAY, RUB,…) or localized symbols ($, €, ¥, руб.,…) is up to the application program that uses CLDR.
Which seem to point to the fact that we are indeed using the correct pattern.
You are using the correct pattern, but according to the CLDR website (http://cldr.unicode.org/translation/number-patterns) there should be a space between currency code and numbers:
¤ | This will be replaced by a currency symbol, such as $ or USD. Note: by default a space is automatically added between letters in a currency symbol and adjacent numbers. So you don't need to add a space between them if your language writes "$12" but "USD 12".