8000 Currency pipe does not properly format when using bulgarian locale · Issue #56907 · angular/angular · GitHub
[go: up one dir, main page]

Skip to content

Currency pipe does not properly format when using bulgarian locale #56907

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

Open
8000
IlieCiotir opened this issue Jul 9, 2024 · 1 comment
Open
Labels
area: i18n Issues related to localization and internationalization
Milestone

Comments

@IlieCiotir
Copy link

Which @angular/* package(s) are the source of the bug?

common

Is this a regression?

No

Description

Trying to format a value using the currency pipe and the bulgarian locale. The value comes out unformatted.

BG: {{ 222133213 | currency : 'BGN' : 'BGN ' : '1.2-2' : 'bg' }} comes out as 222133213,00 BGN when it should be 222,133,213.00 according to the currency chart here.

Please provide a link to a minimal reproduction of the bug

https://stackblitz.com/edit/angular-forkjoin-vs-merge?file=src%2Fapp%2Fapp.component.ts

Please provide the exception or error you saw

No response

Please provide the environment you discovered this bug in (run ng version)

ng version

     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/


Angular CLI: 16.2.2
Node: 18.18.2
Package Manager: npm 9.8.1
OS: darwin arm64

Angular: 16.2.5
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router, service-worker

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1602.2
@angular-devkit/build-angular   16.2.2
@angular-devkit/core            16.2.2
@angular-devkit/schematics      16.2.2
@angular/cdk                    16.2.4
@angular/cli                    16.2.2
@schematics/angular             16.2.2
ng-packagr                      16.2.3
rxjs                            7.8.1
typescript                      5.1.6
zone.js                         0.13.3

Anything else?

No response

@JeanMeche
Copy link
Member

We likely have outdated CLDR data. Expect a fix with #55283.

@pkozlowski-opensource pkozlowski-opensource added the area: i18n Issues related to localization and internationalization label Jul 9, 2024
@ngbot ngbot bot added this to the needsTriage milestone Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: i18n Issues related to localization and internationalization
Projects
None yet
Development

No branches or pull requests

3 participants
0