[TASK] Introduce luxon and remove moment.js
The JavaScript library `luxon` is added to TYPO3 as a replacement for `moment.js` that is considered legacy software by the original maintainers. As a convenience change, the dates rendered in the "conflict modal" in the file upload process are now properly human-readable (e.g. "Apr 3, 2022, 12:56 PM"). The property `lastModifiedDate` is not part of the official browser APIs anymore, therefore it's not considered anymore. Resolves: #88158 Releases: main Change-Id: I4f87e0984706ead81310b95754825953d6fdc231 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/76594 Tested-by:Frank Nägler <frank.naegler@typo3.com> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Frank Nägler <frank.naegler@typo3.com>
Showing
- Build/Gruntfile.js 2 additions, 2 deletionsBuild/Gruntfile.js
- Build/Sources/TypeScript/backend/date-time-picker.ts 15 additions, 11 deletionsBuild/Sources/TypeScript/backend/date-time-picker.ts
- Build/Sources/TypeScript/backend/drag-uploader.ts 7 additions, 16 deletionsBuild/Sources/TypeScript/backend/drag-uploader.ts
- Build/Sources/TypeScript/backend/form-engine-validation.ts 18 additions, 13 deletionsBuild/Sources/TypeScript/backend/form-engine-validation.ts
- Build/package-lock.json 16 additions, 21 deletionsBuild/package-lock.json
- Build/package.json 2 additions, 2 deletionsBuild/package.json
- Build/types/TYPO3/index.d.ts 0 additions, 1 deletionBuild/types/TYPO3/index.d.ts
- typo3/sysext/backend/Classes/Controller/BackendController.php 1 addition, 1 deletion...3/sysext/backend/Classes/Controller/BackendController.php
- typo3/sysext/backend/Classes/Form/FormResultCompiler.php 1 addition, 1 deletiontypo3/sysext/backend/Classes/Form/FormResultCompiler.php
- typo3/sysext/backend/Resources/Private/Partials/About/ExternalLibraries.html 4 additions, 0 deletions...d/Resources/Private/Partials/About/ExternalLibraries.html
- typo3/sysext/backend/Resources/Public/JavaScript/date-time-picker.js 1 addition, 1 deletion...t/backend/Resources/Public/JavaScript/date-time-picker.js
- typo3/sysext/backend/Resources/Public/JavaScript/drag-uploader.js 1 addition, 1 deletion...sext/backend/Resources/Public/JavaScript/drag-uploader.js
- typo3/sysext/backend/Resources/Public/JavaScript/form-engine-validation.js 1 addition, 1 deletion...end/Resources/Public/JavaScript/form-engine-validation.js
- typo3/sysext/core/Configuration/JavaScriptModules.php 1 addition, 2 deletionstypo3/sysext/core/Configuration/JavaScriptModules.php
- typo3/sysext/core/Documentation/Changelog/12.1/Important-88158-ReplacedMomentJsWithLuxon.rst 22 additions, 0 deletions...ngelog/12.1/Important-88158-ReplacedMomentJsWithLuxon.rst
- typo3/sysext/core/Resources/Public/JavaScript/Contrib/luxon.js 1 addition, 0 deletions.../sysext/core/Resources/Public/JavaScript/Contrib/luxon.js
- typo3/sysext/core/Resources/Public/JavaScript/Contrib/moment-timezone.js 0 additions, 5 deletions...re/Resources/Public/JavaScript/Contrib/moment-timezone.js
- typo3/sysext/core/Resources/Public/JavaScript/Contrib/moment.js 0 additions, 6 deletions...sysext/core/Resources/Public/JavaScript/Contrib/moment.js
- typo3/sysext/workspaces/Classes/Controller/PreviewController.php 2 additions, 5 deletions...ysext/workspaces/Classes/Controller/PreviewController.php
Please register or sign in to comment