Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-63750

Upgrade moment.js to avoid future browser compatibility issues

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Low Engagement
    • None
    • None
    • 0
    • 3
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? See the corresponding suggestion.

      TC39 (the group responsible for adding features to JavaScript / ECMAScript) have a proposal to introduce a new global variable: https://github.com/tc39/proposal-global

      This proposal is now at the Stage 3 (candidate) phase, and Firefox recently tried enabling it in a nightly build. Unfortunately they had to turn it off again after discovering compatibility problems with some well-known sites/software, including JIRA. The problem comes down to JIRA using an old version of moment.js.

      Upgrading moment.js to at least version 2.9.0 (which contains the fix) should alleviate any future problems with this proposal.

      See https://github.com/tc39/proposal-global/issues/20#issuecomment-271646615 and https://bugzilla.mozilla.org/show_bug.cgi?id=1328218#c4 for more context.

      Update: JIRA is also now failing in the newly-released Safari Technology Preview 21 due to this problem.

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              75a632ce6c86 Gilmore Davidson
              Votes:
              5 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: