UNPKG

nativescript-intl

Version:

Provides API for using Native date, time and number formatting with an API similar to Intl.js

8 lines (7 loc) 266 B
import { DateTimeFormat, NumberFormat } from "./nativescript-intl"; export { DateTimeFormat, NumberFormat } from "./nativescript-intl"; if (!global.Intl) { global.Intl = {}; } global.Intl.DateTimeFormat = DateTimeFormat; global.Intl.NumberFormat = NumberFormat;