Skip to content

STSMACOM-724 Replace moment with dayjs - #1425

Open
JohnC-80 wants to merge 2 commits into
mainfrom
STSMACOM-724
Open

STSMACOM-724 Replace moment with dayjs#1425
JohnC-80 wants to merge 2 commits into
mainfrom
STSMACOM-724

Conversation

@JohnC-80

@JohnC-80 JohnC-80 commented Jan 5, 2024

Copy link
Copy Markdown
Contributor

The moment project has been sunset for a bit.
This PR switches to a modern date library, dayJS that provides an API that's very similar to moment - it's practically a drop-in replacement.

As dayJS is very modular in nature as opposed to moment's monolithic structure, its usage relies heavily on a plugin-based architecture. We are exporting a pre-extended version of dayJS from stripes-components as a part of a series of PR's to gradually transition to the new date/time library.

Depends on: folio-org/stripes-components#2192

@github-actions

github-actions Bot commented Jan 5, 2024

Copy link
Copy Markdown

Jest Unit Test Statistics

0 tests  ±0   0 ✔️ ±0   0s ⏱️ ±0s
0 suites ±0   0 💤 ±0 
0 files   ±0   0 ±0 

Results for commit dccb2ab. ± Comparison against base commit d3dc0f4.

@github-actions

github-actions Bot commented Jan 5, 2024

Copy link
Copy Markdown

BigTest Unit Test Statistics

    1 files  ±0      1 suites  ±0   13s ⏱️ -1s
440 tests  - 5  390 ✔️  - 19  36 💤 ±0  14 +14 
447 runs  ±0  387 ✔️  - 24  36 💤 ±0  24 +24 

For more details on these failures, see this check.

Results for commit dccb2ab. ± Comparison against base commit d3dc0f4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant