Update release block footer to show suitable created and released dates
What does this MR do and why?
This MR addresses #423731 to always show the released_at and created_at date of a release in the release footer.
- Update release block footer to show suitable created and released dates
- Refactor and clean up the calculation of dates and descriptions
Changelog: changed
Screenshots or screen recordings
Description | Before | After |
---|---|---|
Release overview sorted by created | ||
Release overview sorted by released | ||
Release details page |
How to set up and validate locally
- Navigate to Release Page on a repository such as
http://127.0.0.1:3000/jashkenas/Underscore/-/releases
- Create one or more release(s) with different release dates (in the past, today and in the future)
- Check release footer on the releases overview and details page
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.