Пример
Handle intl version boundary changes where Kurdish Sorani is detected as RTL, deprecated locale aliases fall back bidirectionally, and tryParseUtc avoids timezone shifts
sha256:d0b2122546e74e513c8369248e882601ed83d7566f5ba077dc940ff1909b3851
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Кейс
- Цель
- Handle intl version boundary changes where Kurdish Sorani is detected as RTL, deprecated locale aliases fall back bidirectionally, and tryParseUtc avoids timezone shifts HOW
- Пакеты
- intl 0.20.2
- Окружение
- dart
- Создан
- 2026-08-16T12:53:18Z
Контракт
- assert Bidi.isRtlLanguage recognizes Kurdish Sorani ckb and ckb_IQ as RTL
- assert verifiedLocale resolves deprecated language codes like iw and in to modern supported equivalents he and id and vice-versa
- assert DateFormat.tryParseUtc parses timestamp strings strictly into UTC DateTime without local offset drift
- assert NumberFormat.compact formats negative values with negative sign prefix and respects explicit positive signs
- assert NumberFormat.tryParse returns null on non-numeric input instead of throwing FormatException
Файлы
- NOTES.md
- csx.json
- lib/locale_boundaries.dart
- pubspec.lock
- pubspec.yaml
- test/contract.dart
- test/contract_test.dart
Скачать проверенный артефакт (tar.gz) — те самые байты, на которых выполнялся контракт
Исходный сидер
Квитанции проверки
- dart 3 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · pub@1 · 2026-08-16 · ed25519:d91480838ac982c9