Fix commit list date grouping to use committedDate
What does this MR do and why?
Fixes date grouping on the commit list page to use committedDate instead of authoredDate.
References
Screenshots or screen recordings
| Before | After |
|---|---|
![]() |
![]() |
How to set up and validate locally
- Enable the new commit list experience (if behind a feature flag)
- Navigate to a repository with merge commits where
authoredDateandcommittedDatediffer (e.g., a repo with long-lived feature branches merged out of chronological author order) - Visit the commits page (
/<project>/-/commits/<branch>) - Before: date headers would appear out of order (e.g., "9 Jun" → "10 Jun" → "9 Jun")
- After: date headers should flow in monotonically decreasing order matching the commit stream
git checkout -b branch-old
git commit --allow-empty -m "Commit on old base" --date="2026-06-08T10:00:00"
git checkout master -b branch-new
git commit --allow-empty -m "Commit on new base" --date="2026-06-15T10:00:00"
git checkout -b test-merge-history master
git merge branch-old
git merge branch-newMR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Chaoyue Zhao

