Change the timestamps that appear within the review changes module from absolute time and date to a relative timestamp.
The goal of this change is twofold:
- Make it clearer that the changes being presented are recent and therefore relevant.
- Cut down unhelpful information (eg: We don't need to specify "Today" 5 times when showing a time, eg: No need to specify the year for things that happened this year).
Some examples:
| Before | After |
|---|---|
| 14:32, Today | 3 mins ago |
| 11:32, Today | 3 hours ago |
| 30 March 2026 | Yesterday |
| 20 March 2026 | 1 week ago |
| 30 February 2026 | 1 month ago |
I imagine/hope there are already translation strings within the wiki ecosystem for "short relative timestamps" already! Ideally we'll re-use those. If they don't exist, let's talk more about the definition of these values. Shortenings (eg: mins) would of course happen on a language-by-language basis.
Acceptance criteria
- In the Review Changes module, the timestamp for each edit is a relative time frame, rather than a specific one.
- The relative time uses the same format as the Active Discussions module
