Time tracking calendar does not take "First day of week" setting into account

Summary

The time tracking calendar does not take the "First day of week" setting into account. Screenshots below.

Steps to reproduce

  1. Set your first day of week setting to something other than Friday
  2. In an issue or MR, open the "Add time entry" dialog
  3. Open the calendar and notice that it's starting on a Sunday

What is the current bug behavior?

The calendar always starts on Sunday

What is the expected correct behavior?

The calendar should start on the day configured as "First day of week" setting

Relevant logs and/or screenshots

image

image