Numerals
JS
open
formatjs relativetimeformat ignores numberingSystem (always Latin digits)
fix(@formatjs/intl-relativetimeformat): honor numberingSystem option
formatjs · formatjs/formatjs
Symptom
formatjs intl-relativetimeformat ignores the numberingSystem locale option (e.g., 'jpan', 'arab'), always producing Latin numerals in relative time strings.
Minimal repro
new Intl.RelativeTimeFormat('ja-JP-u-nu-jpan', {}).format(-1, 'day') returns '1日前' with Latin '1' instead of Japanese numeral '一日前'.
Fix
Apply the numberingSystem extension from the locale tag when formatting relative time numbers.