Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-28401

Export moment for compat

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11.1, 2021.0
    • Component/s: Web UI
    • Tags:
    • Team:
      NS
    • Sprint:
      nxNS Sprint 11.1.14

      Description

      We need to export moment for compatibility with custom Polymer 2 legacy code.

      Even if we do offer a _formatDate in our FormatBehavior we're still missing some basic date arithmetic helpers for which we've been relying directy on moment ourselfs too. This means that we should make moment available at global / window scope for compatibility.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 20 minutes
                20m