Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: specify currency in locale identifier when formatting currency p…
…lural (#919) Summary: Intl.NumberFormat does not respect the currency input when currencyDisplay is "name". Without currencyDisplay, currency is correctly taken into account. Resolves #914 Pull Request resolved: #919 Test Plan: Build Hermes and installed on RN application, tested against multiple currency/locale pairs. ``` new Intl.NumberFormat('de-DE', { style: 'currency', currency, currencyDisplay: 'name', }).format(2) ``` Reviewed By: mhorowitz Differential Revision: D43437187 Pulled By: neildhar fbshipit-source-id: 47a7b322fbb498e431b7db9130da3a852c5de873
- Loading branch information