Uploaded image for project: 'OpenShift Console'
  1. OpenShift Console
  2. CONSOLE-2790

Remove use of moment.js

XMLWordPrintable

    • Console - Sprint 200

      See project status here: https://momentjs.com/docs/#/-project-status/

      Moment is no longer recommended for most projects even by moment.js maintainers and no new features are being added. We should investigate native browser alternatives for formatting dates.

      https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleDateString

      We should make sure we don't regress on these bugs when we make this change:

      https://bugzilla.redhat.com/show_bug.cgi?id=1883779
      https://bugzilla.redhat.com/show_bug.cgi?id=1885309

      We should make sure to restore the unit tests for relative times that were removed when we added moment. See

      https://github.com/openshift/console/pull/6194

      Acceptance Criteria

      cc ralpert anpicker@redhat.com

              spadgett@redhat.com Samuel Padgett
              spadgett@redhat.com Samuel Padgett
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: