# Bug OP-8133 - Configuration and display of days in My spent time widget on my Page do not match

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-8133

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Module |  |
| Target versions | 11.2.1 |
| Observed in versions |  |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### **Environment**:

Your OpenProject Version: 11.1.2, Cloud

Operating System / Browser / OpenProject language: Windows / Firefox / German

###   

## Approach 1

### **Steps to reproduce:**

1.  Set your language to German
2.  Go My Page
3.  Add My spent time widget (&quot;Meine gebuchte Zeit)
4.  Configure the days to display from Monday to Friday, save

### **Actual Behavior**

For step 4: The modal looks weird:

<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/20259/content"></div></figure>

After step 5 the wrong days are displayed:

<figure class="image op-uc-figure" style="width:75%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/20258/content"></div></figure>

Sunday is there instead of Friday.

If I choose Tuesday to Saturday instead the desired days (Monday to Friday) are shown.

### Expected behavior

*   The modal starts with the day I chose in _Administration -&gt;System settings -&gt;Display_ as first day of the week (or at least with Monday or Sunday).
*   The days I chose in the modal are displayed in the widget

  

## Approach 2

### **Steps to reproduce:**

1.  Set your language to English
2.  Go My Page
3.  Add My spent time widget
4.  Configure the days to display from Monday to Friday, save
5.  Change language to German
6.  Have another look at the configuration

### **Actual Behavior**

<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/20257/content"></div></figure>

The widget still shows the correct dates, but the configuration modal shows wrong days.

### **Expected Behavior**

Monday (&quot;Montag&quot;) to Friday (&quot;Freitag&quot;) are selected.
