Skip to content

Commit c7b4aad

Browse files
committed
Log remaining JS Intl conformance gaps in TODO
1 parent 19c7328 commit c7b4aad

1 file changed

Lines changed: 25 additions & 1 deletion

File tree

TODO.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,30 @@
11
# TODO
22

3-
No outstanding upstream work at this time.
3+
Remaining conformance gaps against the JS Intl API, tracked in the [compatibility guide](https://hexdocs.pm/intl/compatibility.html). Split by whether the work is blocked on Localize.
4+
5+
## Blocked on Localize
6+
7+
These are logged in the Localize repository's TODO.md as feature requests:
8+
9+
* `minimumIntegerDigits` — needs a Localize `:minimum_integer_digits` (zero-padding) option.
10+
11+
* `trailingZeroDisplay` — needs a Localize `:trailing_zero_display` option (`:auto` | `:strip_if_integer`).
12+
13+
* `roundingPriority` — needs Localize `:rounding_priority` semantics when both fraction-digit and significant-digit bounds are given. Current behavior (significant digits win) matches the JS `"auto"` default.
14+
15+
* `formatToParts` / `formatRangeToParts` (all modules) — needs Localize to expose structured format parts.
16+
17+
* `Intl.RelativeTimeFormat` `numeric: :always` — needs Localize to support forcing numeric output instead of named forms ("yesterday").
18+
19+
* `Intl.supported_values_of/1` for `:collation` and `:time_zone` — needs Localize inventory functions.
20+
21+
## Intl-side (no upstream work required)
22+
23+
* `resolvedOptions` — could be built on `Localize.Number.Format.Options.validate_options/2` (public API since Localize 0.50) for NumberFormat; other modules need equivalent resolution.
24+
25+
* `supportedLocalesOf` — wrap `Localize.available_locale_id?/1` per module.
26+
27+
* `Intl.DateTimeFormat` component options now supportable by Localize: `dayPeriod` (flexible day periods since Localize 0.44), `timeZoneName` (metazone data since 0.45), `numberingSystem` (default-system handling since 0.47), `fractionalSecondDigits`, `era`, and `hour12`/`hourCycle`.
428

529
## Completed
630

0 commit comments

Comments
 (0)