The NewImpact module and the Send Praise module (mentor dashboard) show, in the "Last edited" scorecard, a datetime parsed with localization perferences with momentjs, eg: 20 hours ago. However Intl is used in other scorecard date formatting, eg: Feb 13—16.
Moment is known to be heavy and in deprecation status (See T146798: Replace Moment.js in core with something smaller (what?)) so there's an opportunity to replace moment usage with Intl safely and have a benefit in terms of payload size and dependency simplification.
Checklist
- Use Intl for formatting in /modules/vue-components/CScoreCards.vue#191
- Use Intl for formatting in /modules/ext.growthExperiments.Homepage.NewImpact/components/InfoBoxes.vue#53
- Remove moment from extension.json and package.json