Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-63750

Upgrade moment.js to avoid future browser compatibility issues

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • None
    • None
    • 0
    • 1
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? 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:
              8 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated: