Skip to content

docs: Remove misleading default value DEFAULT_CURRENCY_CODE#59977

Closed
michelAlexis wants to merge 1 commit intoangular:mainfrom
michelAlexis:patch-1
Closed

docs: Remove misleading default value DEFAULT_CURRENCY_CODE#59977
michelAlexis wants to merge 1 commit intoangular:mainfrom
michelAlexis:patch-1

Conversation

@michelAlexis
Copy link
Copy Markdown
Contributor

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • angular.dev application / infrastructure changes
  • Other... Please describe:

What is the current behavior?

The current documentation for DEFAULT_CURRENCY_CODE states the following :

The default currency code is currently always USD but this is deprecated from v9.
In v10 the default currency code will be taken from the current locale.

This is currently not the case, and is apparently not the desired behavior. #34724 (comment)
Multiple issues have been created about this, but the documentation has never been updated.

#41323
#47612

What is the new behavior?

Remove the "derived from locale" sentences and fix the default doc value as USD.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

First time doing a public PR, if I missed something in the guidlines let me know

@google-cla
Copy link
Copy Markdown

google-cla bot commented Feb 17, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@pullapprove pullapprove bot requested a review from atscott February 17, 2025 10:30
@angular-robot angular-robot bot added the area: docs Related to the documentation label Feb 17, 2025
@ngbot ngbot bot added this to the Backlog milestone Feb 17, 2025
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need to also remove the deprecation notice.

Copy link
Copy Markdown
Member

@JeanMeche JeanMeche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also remove the deprecation notice

Copy link
Copy Markdown
Member

@JeanMeche JeanMeche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this!

Copy link
Copy Markdown
Contributor

@thePunderWoman thePunderWoman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thePunderWoman thePunderWoman removed the request for review from atscott March 4, 2025 17:05
@thePunderWoman thePunderWoman added action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note labels Mar 4, 2025
@thePunderWoman
Copy link
Copy Markdown
Contributor

Caretaker note: this is docs only and does not need a presubmit.

@mmalerba
Copy link
Copy Markdown
Contributor

mmalerba commented Mar 4, 2025

This PR was merged into the repository by commit 6f6d9f1.

The changes were merged into the following branches: main, 19.2.x

@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Apr 4, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: docs Related to the documentation merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants