-
Notifications
You must be signed in to change notification settings - Fork 25k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug(pipe): currency pipe missing whitespace on negative amount #46038
Comments
@DwieDima Could you create a reproduction of this within stackblitz? That would be really helpful for us to debug this. |
@jessicajaniuk sure here's the link: |
Relates to #33803. |
For what it's worth, |
The latest CLDR (42) has following for
So using de standard CHF falls in the
|
I'll close this as this is related to the CLDR. And if it is a real bug, it should reported there. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Which @angular/* package(s) are the source of the bug?
common
Is this a regression?
No
Description
When you use currencies, where the symbol is on the left side, there is no whitespace between the symbol and amount, when amount is negative.
Example negative:
![image](https://user-images.githubusercontent.com/26873275/169091622-d4c1fb34-62f8-40a5-bb50-fb747e209ef1.png)
Example positive:
![image](https://user-images.githubusercontent.com/26873275/169092158-3ee6e82f-4105-406b-80a5-46f2d96bf9de.png)
Expected when negative:
![image](https://user-images.githubusercontent.com/26873275/169092082-41cbae38-275c-4a6f-8f5b-e65029588c2f.png)
Please provide a link to a minimal reproduction of the bug
app.module.ts:
app.component.html
Please provide the exception or error you saw
No response
Please provide the environment you discovered this bug in (run
ng version
)Anything else?
My current workaround is to override the currencyPipe:
The text was updated successfully, but these errors were encountered: