Investigation: replace deprecated moment time library

Description

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:

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

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: 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

Assignee

Reporter

Priority

Sprint

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