# Bug OP-18031 - Wrong calendar week in My time tracking

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Module | Modules and project features / Time tracking, Modules and project features / Calendar |
| Target versions | 17.5.0 |
| Observed in versions | 16.4.0 |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) | 16.4.x |
| 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 | Mir Bhatia |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### Steps to reproduce

1.  The general settings in the Administration - Calendars and dates - Date format: The "Date" is set to default. The settings for "Week starts on" and "First week in year contains" are both set to "Based on user's language"

2.  Login as a user with permission to manage time entries

3.  Go to the My time tracking page

4.  Switch to "Month" and "List" view

### What is the buggy behavior?

  - "This week" is shown as calendar week 41 but it is actually calendar week 42 already

### What is the expected behavior?

1.  Week ranges should be shown as titles instead of calendar weeks

### Screenshots and other files

<img class="image_resized op-uc-image op-uc-image_inline" style="width:418px;" src="/api/v3/attachments/791467/content">

### Environment information

**OpenProject installation type**

  - Hosted cloud edition

  - On-premises edition, version 16.4.1
