You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feature symfony#61431 [Intl] Add methods to filter currencies more precisely (Crovitche-1623)
This PR was squashed before being merged into the 7.4 branch.
Discussion
----------
[Intl] Add methods to filter currencies more precisely
| Q | A
| ------------- | ---
| Branch? | 7.4
| Bug fix? | no
| New feature? | yes
| Deprecations? | no
| Issues | Closesymfony#61365
| License | MIT
## Description
In the ICU dataset, there are values that are no longer relevant / no longer used today (e.g. the BEF currency). This PR add a method that check the metadata in the ICU metadata to check if the currency is active in at least 1 country.
## Limitations
1. There are currencies that do not have legal tender and therefore no available date ranges. That can cause problem when we check if the currency is active (within the date range).
2. If we have a case in the future where a currency is no longer valid for a given date range but becomes valid again in the future, this will not work with the current date check (parameter `$active`).
Commits
-------
04b3149 [Intl] Add methods to filter currencies more precisely
0 commit comments