Lines Matching refs:Intl
16 * [`Intl`][] object
50 | [`Intl`][] | none (object does not exist) | partial/full (depen…
81 addition, such as [`Intl.DateTimeFormat`][] *may* be fully or partially
94 such as [`Intl.DateTimeFormat`][], generally only work with the English locale:
98 const english = new Intl.DateTimeFormat('en', { month: 'long' });
99 const spanish = new Intl.DateTimeFormat('es', { month: 'long' });
143 enable full `Intl` support.
156 `full-icu`), simply checking the existence of `Intl` should suffice:
159 const hasICU = typeof Intl === 'object';
170 `system-icu`), [`Intl.DateTimeFormat`][] can be a good distinguishing factor:
176 const spanish = new Intl.DateTimeFormat('es', { month: 'long' });
184 For more verbose tests for `Intl` support, the following resources may be found
187 * [btest402][]: Generally used to check whether Node.js with `Intl` support is
202 [`Intl.DateTimeFormat`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_O…
203 [`Intl`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl