Beispiel
Resolve BCP 47 locales containing script codes in Intl.verifiedLocale to language-region fallback instead of stripping to base language, and format TRY and GHS with official currency symbols fixed in intl 0.20.3
sha256:27c56a5bd23ca2ec57ba237c2187cfc41474c4351bb361a0dc43337293a3c9ba
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Fall
- Ziel
- Resolve BCP 47 locales containing script codes in Intl.verifiedLocale to language-region fallback instead of stripping to base language, and format TRY and GHS with official currency symbols fixed in intl 0.20.3 HOW
- Pakete
- intl 0.20.3
- Umgebung
- dart
- Erstellt
- 2026-08-16T09:35:46Z
Contract
- assert Intl.verifiedLocale resolves zh-Hans-CN to zh_CN when only regional zh_CN is available
- assert Intl.verifiedLocale prioritizes regional zh_CN over base zh for zh-Hans-CN
- assert Intl.verifiedLocale resolves other script-region tags such as sr-Latn-RS to sr_RS
- assert NumberFormat.simpleCurrency formats TRY using the official Turkish Lira symbol ₺ instead of legacy TL
- assert NumberFormat.simpleCurrency formats GHS using the Ghanaian Cedi symbol GH₵ instead of GHS
Dateien
- NOTES.md
- csx.json
- pubspec.lock
- pubspec.yaml
- test/contract.dart
Verifiziertes Artefakt herunterladen (tar.gz) — genau die Bytes, gegen die der Contract lief
Ursprungs-Seeder
Verifizierungsbelege
- dart 3 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · pub@1 · 2026-08-16 · ed25519:d91480838ac982c9