JSPM

  • Created
  • Published
  • Downloads 421265
  • Score
    100M100P100Q197103F
  • License MIT

Formats JavaScript dates to relative time strings.

Package Exports

  • @formatjs/intl-relativetimeformat
  • @formatjs/intl-relativetimeformat/locale-data/br
  • @formatjs/intl-relativetimeformat/locale-data/de
  • @formatjs/intl-relativetimeformat/locale-data/en
  • @formatjs/intl-relativetimeformat/locale-data/es
  • @formatjs/intl-relativetimeformat/locale-data/fr
  • @formatjs/intl-relativetimeformat/locale-data/it
  • @formatjs/intl-relativetimeformat/locale-data/ja
  • @formatjs/intl-relativetimeformat/locale-data/nb
  • @formatjs/intl-relativetimeformat/locale-data/nn
  • @formatjs/intl-relativetimeformat/polyfill
  • @formatjs/intl-relativetimeformat/polyfill-locales
  • @formatjs/intl-relativetimeformat/polyfill.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@formatjs/intl-relativetimeformat) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Intl RelativeTimeFormat

We've migrated the docs to https://formatjs.io/docs/polyfills/intl-relativetimeformat.