stable
Clone or download
Change your user preference "relative_dates_display" to "absolute_first-relative_shown". (You have to do it manually in the db) Go to planning v2. Open an artifact in the modal with comments. The comments should have their dates displayed with the following format: YYYY-MM-DD X seconds ago The same for kanban The same for ttm You need to rebuild ttm, planning-v2 and kanban app. Note: due to AngularJS magic lifecycle, the component is rendered too earlier and the computed attributes does not match the expected ones. Therefore the generated errors have been swept under the carpet in production mode. They are still raised in development mode though. I agree, it is ugly as hell and should be fixed. Do you have any suggestion? Part of story #14828: display dates with both absolute and relative dates Change-Id: Iafd64ae1438fdd23e631e848ceaa8236438f97e6
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/agiledashboard/webpack.common.js | +4 | −0 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/FolderContentRow.test.js | +3 | −1 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/QuickLook/QuickLookDocumentMetadata.test.js | +3 | −1 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/QuickLook/QuickLookMetadataDate.test.js | +3 | −1 | Go to diff View file |
M | plugins/testmanagement/webpack.common.js | +1 | −0 | Go to diff View file |
M | plugins/tracker/package-lock.json | +12 | −554 | Go to diff View file |
M | plugins/tracker/package.json | +1 | −0 | Go to diff View file |
M | plugins/tracker/scripts/angular-artifact-modal/src/tuleap-artifact-modal-controller.js | +12 | −0 | Go to diff View file |
M | plugins/tracker/scripts/angular-artifact-modal/src/tuleap-artifact-modal-service.js | +8 | −0 | Go to diff View file |
M | plugins/tracker/scripts/angular-artifact-modal/src/tuleap-artifact-modal-service.test.js | +28 | −6 | Go to diff View file |
M | plugins/tracker/scripts/angular-artifact-modal/src/tuleap-artifact-modal.js | +1 | −0 | Go to diff View file |
M | plugins/tracker/scripts/angular-artifact-modal/src/tuleap-artifact-modal.tpl.html | +14 | −2 | Go to diff View file |
M | src/themes/tlp/src/js/custom-elements/relative-date/relative-date-element.ts | +42 | −11 | Go to diff View file |