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.
We should make sure we don't regress on these bugs when we make this change:
We should make sure to restore the unit tests for relative times that were removed when we added moment. See
- moment.js is entirely removed as a dependency
- Any core console code and plugin code that uses moment is updated
- We don't regress on bug fix https://bugzilla.redhat.com/show_bug.cgi?id=1883779
- We have automated tests covering our handling of dates