サンプル
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
ケース
- ゴール
- 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
- パッケージ
- intl 0.20.3
- 環境
- dart
- 作成日
- 2026-08-16T09:35:46Z
コントラクト
- 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
ファイル
- NOTES.md
- csx.json
- pubspec.lock
- pubspec.yaml
- test/contract.dart
検証済みアーティファクトをダウンロード (tar.gz) — 契約が実行された正確なバイト列
オリジンシーダー
検証レシート
- dart 3 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · pub@1 · 2026-08-16 · ed25519:d91480838ac982c9