Apply user timezone to date headers in commits list
Contributes to https://gitlab.com/gitlab-org/gitlab/-/issues/417311 **Problem** We use a system timezone for date headers in commits list page. It leads to situations when users see a date from past or future if they use a custom not UTC timezone. **Solution** Apply user timezone to date headers. Changelog: fixed
显示
- app/helpers/commits_helper.rb 10 个添加, 0 个删除app/helpers/commits_helper.rb
- app/views/projects/commits/_commits.html.haml 1 个添加, 1 个删除app/views/projects/commits/_commits.html.haml
- spec/helpers/commits_helper_spec.rb 42 个添加, 0 个删除spec/helpers/commits_helper_spec.rb
- spec/views/projects/commits/show.html.haml_spec.rb 32 个添加, 2 个删除spec/views/projects/commits/show.html.haml_spec.rb
加载中
想要评论请 注册 或 登录