stable
Clone or download
Read-only
request #18813 remove phptomoment dependency
Why: - this package has not been updated since 2017 - it is not compatible with typescript What does it do ? - behavior is trivial, it takes a format in php (exemple: d/m/Y) and convert it to javascript (exmple dd/mm/YYYY) How: - Instead of relying on an external lib, we can have an internal lib how do the job How to test: - access to document|heartbeat|artifact modal the date respects your user preferencies (FR or EN) Change-Id: I49acb9e2320dea661fe6393d5b5d6963b6b8243a
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/crosstracker/package-lock.json | +0 | −5 | Go to diff View file |
M | plugins/crosstracker/package.json | +1 | −1 | Go to diff View file |
M | plugins/crosstracker/scripts/cross-tracker/src/user-service.js | +2 | −2 | Go to diff View file |
M | plugins/document/package-lock.json | +0 | −5 | Go to diff View file |
M | plugins/document/package.json | +1 | −1 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/FolderContentRow.test.js | +1 | −1 | Go to diff View file |
M | plugins/document/scripts/document/helpers/date-formatter.js | +3 | −3 | Go to diff View file |
M | plugins/tracker/package-lock.json | +0 | −5 | Go to diff View file |
M | plugins/tracker/package.json | +1 | −1 | Go to diff View file |
M | plugins/tracker/scripts/angular-artifact-modal/src/tuleap-artifact-modal-controller.js | +2 | −2 | Go to diff View file |
M | src/package-lock.json | +0 | −5 | Go to diff View file |
M | src/package.json | +1 | −1 | Go to diff View file |
M | src/scripts/dashboards/widgets/project-heartbeat/project-heartbeat.js | +3 | −3 | Go to diff View file |
A | src/scripts/lib/date-helper/.gitignore | +1 | −0 | Go to diff View file |
A | src/scripts/lib/date-helper/jest.config.js | +25 | −0 | Go to diff View file |
A | src/scripts/lib/date-helper/package-lock.json | +5 | −0 | Go to diff View file |
A | src/scripts/lib/date-helper/package.json | +20 | −0 | Go to diff View file |
A | src/scripts/lib/date-helper/src/index.test.ts | +42 | −0 | Go to diff View file |
A | src/scripts/lib/date-helper/src/index.ts | +33 | −0 | Go to diff View file |
A | src/scripts/lib/date-helper/tsconfig.json | +8 | −0 | Go to diff View file |
A | src/scripts/lib/date-helper/webpack.common.js | +48 | −0 | Go to diff View file |
A | src/scripts/lib/date-helper/webpack.dev.js | +23 | −0 | Go to diff View file |
A | src/scripts/lib/date-helper/webpack.prod.js | +23 | −0 | Go to diff View file |