angular: [Bug][V2] Currency pipe :symbolDisplay true not working
I’m using the currency pipe with beta.0, and with the following code inside ionic 2:
<ion-card-content> Total: {{ total | currency:'COP':true }} </ion-card-content>
The output should be Total: $ 110,000
but the actual output is this:
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 4
- Comments: 22 (4 by maintainers)
Commits related to this issue
- feat(core): replace intl API by our own locale files Fixes #10809, #9524, #7008, #9324, #7590, #6724, #3429, #17576, #17478, #17319, #17200, #16838, #16624, #16625, #16591, #14131, #12632, #11376, #1... — committed to ocombe/angular by ocombe 7 years ago
- feat(core): replace intl API by our own locale files Fixes #10809, #9524, #7008, #9324, #7590, #6724, #3429, #17576, #17478, #17319, #17200, #16838, #16624, #16625, #16591, #14131, #12632, #11376, #1... — committed to ocombe/angular by ocombe 7 years ago
- feat(core): replace intl API by our own locale files Fixes #10809, #9524, #7008, #9324, #7590, #6724, #3429, #17576, #17478, #17319, #17200, #16838, #16624, #16625, #16591, #14131, #12632, #11376, #1... — committed to ocombe/angular by ocombe 7 years ago
- feat(core): replace intl API by our own locale files Fixes #10809, #9524, #7008, #9324, #7590, #6724, #3429, #17576, #17478, #17319, #17200, #16838, #16624, #16625, #16591, #14131, #12632, #11376, #1... — committed to ocombe/angular by ocombe 7 years ago
- feat(core): remove dependency to intl API BREAKING CHANGE: all i18n pipes have been updated to not require the intl API anymore. Some results might vary, see the document to update from v4 to v5 for ... — committed to ocombe/angular by ocombe 7 years ago
- feat(core): remove dependency to intl API BREAKING CHANGE: all i18n pipes have been updated to not require the intl API anymore. Some results might vary, see the document to update from v4 to v5 for ... — committed to ocombe/angular by ocombe 7 years ago
- feat(core): remove dependency to intl API BREAKING CHANGE: all i18n pipes have been updated to not require the intl API anymore. Some results might vary, see the document to update from v4 to v5 for ... — committed to ocombe/angular by ocombe 7 years ago
- feat(core): remove dependency to intl API BREAKING CHANGE: all i18n pipes have been updated to not require the intl API anymore. Some results might vary, see the document to update from v4 to v5 for ... — committed to ocombe/angular by ocombe 7 years ago
- feat(core): remove dependency to intl API BREAKING CHANGE: all i18n pipes have been updated to not require the intl API anymore. Some results might vary, see the document to update from v4 to v5 for ... — committed to ocombe/angular by ocombe 7 years ago
- feat(core): remove dependency to intl API BREAKING CHANGE: all i18n pipes have been updated to not require the intl API anymore. Some results might vary, see the document to update from v4 to v5 for ... — committed to ocombe/angular by ocombe 7 years ago
- feat(core): remove dependency to intl API BREAKING CHANGE: all i18n pipes have been updated to not require the intl API anymore. Some results might vary, see the document to update from v4 to v5 for ... — committed to ocombe/angular by ocombe 7 years ago
- feat(core): remove dependency to intl API BREAKING CHANGE: all i18n pipes have been updated to not require the intl API anymore. Some results might vary, see the document to update from v4 to v5 for ... — committed to ocombe/angular by ocombe 7 years ago
- feat(core): remove dependency to intl API BREAKING CHANGE: all i18n pipes have been updated to not require the intl API anymore. Some results might vary, see the document to update from v4 to v5 for ... — committed to ocombe/angular by ocombe 7 years ago
- feat(core): remove dependency to intl API BREAKING CHANGE: all i18n pipes have been updated to not require the intl API anymore. Some results might vary, see the document to update from v4 to v5 for ... — committed to ocombe/angular by ocombe 7 years ago
- feat(core): remove dependency to intl API BREAKING CHANGE: all i18n pipes have been updated to not require the intl API anymore. Some results might vary, see the document to update from v4 to v5 for ... — committed to ocombe/angular by ocombe 7 years ago
- feat(core): remove dependency to intl API BREAKING CHANGE: all i18n pipes have been updated to not require the intl API anymore. Some results might vary, see the document to update from v4 to v5 for ... — committed to ocombe/angular by ocombe 7 years ago
- feat(core): remove dependency to intl API BREAKING CHANGE: all i18n pipes have been updated to not require the intl API anymore. Some results might vary, see the document to update from v4 to v5 for ... — committed to ocombe/angular by ocombe 7 years ago
- feat(common): drop use of the Intl API to improve browser support BREAKING CHANGE: Because of multiple bugs and browser inconsistencies, we have dropped the intl api in favor of data exported from th... — committed to ocombe/angular by ocombe 7 years ago
- feat(common): drop use of the Intl API to improve browser support BREAKING CHANGE: Because of multiple bugs and browser inconsistencies, we have dropped the intl api in favor of data exported from th... — committed to ocombe/angular by ocombe 7 years ago
- feat(common): drop use of the Intl API to improve browser support BREAKING CHANGE: Because of multiple bugs and browser inconsistencies, we have dropped the intl api in favor of data exported from th... — committed to ocombe/angular by ocombe 7 years ago
Hello, a new option to display either the code/symbol/narrow symbol will be added with the PR to replace the intl API for angular v5 (see #10809). Some countries have multiple money symbols (usually the local symbol is shorter, when the official international symbol is longer and more explicit) ex: the canadian dollar has
CA$
by default, but the new narrow symbol will be$
. In the case of @luchillo17 COP example, the official symbol for COP is indeedCOP
, but the narrow symbol will be$
. This should cover all use cases.Aaand those browser vendors aren’t going to provide those overrides, so i guess asking the
Intl
guys is probably faster and better.Guess this is not typescript or angular, but a browser (ECMAScript?) issue
Displays “PLN43” while
Displays “43.00 Polish zlotys”