Skip to content

Add time zone setting to user profile

Stan Hu requested to merge stanhu/gitlab-ce:add-time-zone-to-user-profile into master

What does this MR do?

This MR adds a time zone field to the user's profile and adds an around_action in the application controller to wrap each request around the use of this time zone.

Why was this MR needed?

It was difficult to tell the local time of commit dates etc. Users should be able to select what time zone they want to see.

What are the relevant issue numbers?

http://feedback.gitlab.com/forums/176466-general/suggestions/5742594-allow-user-to-select-their-timezone-in-profile

Needed to support #2015 (closed)

Screenshots

image

Merge request reports