# Bug OP-11248 - Update dates on Gantt chart based on its duration

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 12.3.1 |
| Observed in versions |  |
| Sprint | 12.3.1 |
| 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

### Steps to reproduce

_Please write down the steps to reproduce. Try to write down all necessary preconditions (what permissions do you have, are other users involved?). Example:_

1.  Login as a user with permission to read work packages 
2.  Go to the work packages page
3.  Select Gantt view
4.  Move a WP to the right or left to update it

### What is the buggy behavior?

_Please describe the bug with as most details as possible. Example:_

*   On the network tab, you can see that for the payload we are sending the start and end date, so the calculations are only based on selected dates not the duration of WP
