Skip to content

Display local time in user's profile

📖 What does this MR do?

Related to #335459 (closed)

Displays local time in user's profile. Time zone can be set when editing your profile.

Note: If a user has not explicitly set their time zone it will default to the time zone set in the GitLab instance. This is because the timezone attribute defaults to Time.zone.tzinfo.name

💻 Local testing

  1. Click your avatar in upper right corner and select Edit profile
  2. Set your time zone
  3. Navigate to your profile

📷 Screenshots

View Before After
Desktop Screen_Shot_2021-07-23_at_9.24.40_AM Screen_Shot_2021-07-23_at_9.23.23_AM
Mobile Screen_Shot_2021-07-23_at_9.25.01_AM Screen_Shot_2021-07-23_at_9.23.50_AM

🚦 Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Peter Hegman

Merge request reports

Loading