Skip to content

Fix contribution calendar not respecting "First day of the week"

What does this MR do and why?

Related to #394631 (closed)

There was a typo in !112729 (merged) that caused a regression for the First day of the week setting in Preferences. This MR fixes that typo and adds feature specs to guard against the regression in the future.

Screenshots or screen recordings

Before After
Screenshot_2023-03-06_at_10.02.34_AM Screenshot_2023-03-06_at_10.02.17_AM

How to set up and validate locally

  1. Click your avatar in the upper right corner and select Preferences
  2. In the Localization section select Monday from the First day of the week dropdown. Save the form.
  3. Go to your profile, the contribution calendar should start on Monday.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Peter Hegman

Merge request reports