Pebble App Framework: Phone API
    Preparing search index...

    Function intlUsable

    • Whether this runtime has the locale data a formatter needs. The emulator's runtime has none, and building an Intl.DateTimeFormat there runs it out of memory and kills the process, which no try/catch can stop. supportedLocalesOf reads the same list without building a formatter, so an empty answer means leave the formatter alone.

      Returns boolean

      True when a formatter can be built.