Skip to content
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

Fix formatting money #664

Merged
merged 1 commit into from Mar 7, 2023
Merged

Fix formatting money #664

merged 1 commit into from Mar 7, 2023

Conversation

pierredup
Copy link
Member

No description provided.

@pierredup pierredup added the bug label Mar 7, 2023
@pierredup pierredup added this to the 2.2.0 milestone Mar 7, 2023
@pierredup pierredup self-assigned this Mar 7, 2023
@pierredup pierredup enabled auto-merge March 7, 2023 08:42
@what-the-diff
Copy link

what-the-diff bot commented Mar 7, 2023

  • The MoneyFormatter class was refactored to use the IntlMoneyFormatter from moneyphp/money.
  • The format method of the MoneyFormatterExtension now accepts null values for $money and will return a formatted string with 0 value if it is not set, instead of throwing an exception as before.

@pierredup pierredup merged commit 8ae12a9 into 2.2.x Mar 7, 2023
@pierredup pierredup deleted the fix-currency-formatting branch March 7, 2023 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant