# Bug COSTS-165 - When entering days it defaults to 24h instead of workdays

Project: Stream Time & Costs
Status: closed
URL: https://community.openproject.org/work_packages/COSTS-165

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Time tracking |
| Target versions | 17.9.0 |
| Observed in versions | 17.6.0 |
| Bug found in version (deprecated) | 17.6.x |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

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

## Planning

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

## Costs

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

## Description

###   

### Steps to reproduce

1.  Create a new time entry
    
2.  Enter `2d` for hours
    
3.  Go to the next field
    

### What is the buggy behavior?

*   We see `48h` as the ours
    

### What is the expected behavior?

1.  It should show `16h` (or whatever the multiple of working hours per day in the system settings is)
    
2.  Like in work/remaining work, we should calculate days -&gt; hours conversion based on hours per workday setting
    

###
