1. 10 Feb, 2021 2 commits
  2. 09 Feb, 2021 4 commits
  3. 08 Feb, 2021 6 commits
  4. 07 Feb, 2021 2 commits
  5. 06 Feb, 2021 2 commits
  6. 05 Feb, 2021 6 commits
  7. 04 Feb, 2021 9 commits
  8. 03 Feb, 2021 6 commits
  9. 02 Feb, 2021 3 commits
    • chrisgarrity's avatar
      Merge pull request #4895 from chrisgarrity/relative-time-polyfill · baba146f
      chrisgarrity authored
      Add @formatjs/relativetimeformat-polyfill
      baba146f
    • picklesrus's avatar
      f7bf2049
    • Chris Garrity's avatar
      Add @formatjs/relativetimeformat-polyfill · ae2bc24f
      Chris Garrity authored
      Safari < 14 does not support Intl.RelativeTimeFormat which is used in the moderation messaging. Adding this polyfill to support it. RelativeTimeFormat depends on Locale, which is also not available in Safari <14, and PluralRules, not available in Safari < 13.
      
      There is a trade off between adding locale-data for all users that load the page regardless of what browser they’re using and whether they get muted, and only localizing the most common languages.
      In the last 30 days only ~3% of users on scratch use a version of Safari (13.x) that doesn’t support Intl. Of that 3%, these 7 locales would cover over 60% of the users. English will be used by default if the locale data is not available.
      ae2bc24f