Investigation: replace deprecated moment time library
Description
Environment
None
Potential Workaround
None
relates to
Checklist
hideTestRail: Results
Activity
Show:
Zak Burke January 23, 2023 at 5:17 PM
Ding! Ding! Ding! The winner is day.js. Stories in UI repos can be blocked on and while we figure out what public API surfaces we related to dates we want to expose.
Details
Details
Assignee

Reporter
Labels
Priority
Sprint
None
Development Team
Stripes Force
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created September 21, 2020 at 1:17 PM
Updated March 4, 2025 at 2:16 PM
TestRail: Cases
TestRail: Runs
Overview: replace moment with day.js, an actively maintained library.{*}{*}
Overview: replace moment with an actively maintained library
Details: As noted on moment's home page, "Considering using Moment in your project? There may be better modern alternatives." and on the project status page, "We now generally consider Moment to be a legacy project in maintenance mode. It is not dead, but it is indeed done." Recommendations include:
Luxon
Day.js
date-fns
js-Joda
Interested parties: . What do you think the timeline for this should be – sometime between next release and next year?
FWIW, most use of moment appears to be in ui-users:
Deliverables
Provide a recommendation on a new library
Define a technical approach to migration to the new library
Present recommendation and technical approach to stripes arch team