Moment.js is quite a large library (70K gzipped) and is used only in a single line of code within MultimediaViewer. This line could be replaced with [Date.toLocaleString](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleString)
Description
Description
Details
Details
Related Changes in Gerrit:
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| Replace moment.js with Date.toLocaleString | mediawiki/extensions/MultimediaViewer | master | +21 -48 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | None | T340453 [Epic] FY 2023-24 Growth Maintenance Work | |||
| Resolved | BUG REPORT | kostajh | T324454 Special:Notifications shows the date in English and not in Kurdish on ku.wikipedia | ||
| Open | BUG REPORT | None | T391759 Croatian date format in Special:Notifications incorrectly lacks trailing dot | ||
| Open | None | T146798 Replace Moment.js in core with mediawiki.DateFormatter, JavaScript Temporal and Intl | |||
| Resolved | simon04 | T224626 MultimediaViewer should not use moment.js for a single line |
Event Timeline
Comment Actions
Change 513209 had a related patch set uploaded (by Simon04; owner: Simon04):
[mediawiki/extensions/MultimediaViewer@master] Replace moment.js with Date.toLocaleString
Comment Actions
Change 513209 merged by jenkins-bot:
[mediawiki/extensions/MultimediaViewer@master] Replace moment.js with Date.toLocaleString