diff options
author | Sean McGivern <sean@gitlab.com> | 2016-05-05 10:00:31 +0100 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2016-05-11 10:26:37 +0100 |
commit | d9574a7b93de7e88c77ed1351650843749da60f0 (patch) | |
tree | 6fe49bddb4b52c72875b41b4947c67ed3623603e /CHANGELOG | |
parent | c583433862558550c8caedb03217880568dcdefc (diff) | |
download | gitlab-ce-d9574a7b93de7e88c77ed1351650843749da60f0.tar.gz |
Group commits by date in server timezone3870-commit-sorting-issue
`Time#to_date` just takes the (timezone-less) year, date, and month, and
creates a new date from that. Because the commits in the list are
grouped by date, rather than chunked when the date changes, a commit can
be shown in the wrong order if its CommitDate has a timezone-less date
that's different to other commits around it.
Convert all CommitDates to the server timezone before grouping, as that
will at least produce consistent results. Users can still see a
timestamp on the commit that doesn't match the date it's grouped under,
because the timestamp shown uses the user's local timezone, and the
grouping uses the server's timezone, but that was an issue anyway.
Diffstat (limited to 'CHANGELOG')
-rw-r--r-- | CHANGELOG | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGELOG b/CHANGELOG index e989e622b97..ab41545548b 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -19,6 +19,7 @@ v 8.8.0 (unreleased) - Files over 5MB can only be viewed in their raw form, files over 1MB without highlighting !3718 - Add support for supressing text diffs using .gitattributes on the default branch (Matt Oakes) - Added multiple colors for labels in dropdowns when dups happen. + - Always group commits by server timezone, not commit timestamp - Improve description for the Two-factor Authentication sign-in screen. (Connor Shea) - API support for the 'since' and 'until' operators on commit requests (Paco Guzman) - Fix Gravatar hint in user profile when Gravatar is disabled. !3988 (Artem Sidorenko) |