# Bug OP-12205 - Time log entries too coarse

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 12.5.2 |
| Observed in versions | 12.5.0 |
| Sprint | 12.5.2 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 12.5.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 |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### Steps to reproduce

1.  open the time logging dialog for a certain work package
2.  enter "1,8" into the Hours-field
3.  click "create"
4.  check entry via "Times and Costs" --\> entry sais "1,00 Stunden"

### What is the buggy behavior?

  - comma values beside x,5 can not be entered anymore and are rounded down to x,0

### What is the expected behavior?

  - being able to enter every value possible as it was prior to v12.5 (updated 2023-03-02)
  - alternatively: displaying a clear message, which entries are allowed/required for the field; something like "only full and half hours are allowed"
  - if entering comma values is restricted by default/ on purpose, rounding should be mathematical: 1,2 --\>1; 1,3 --\> 1,5; 1,6 --\> 1,5; 1,9 --\> 2

### Important note

If the purpose of the actual/new restriction is to reduce the granularity of the log entries in order reduce the total amount of entries or to avoid users to be tempted entering a 3 minute time log, than this should still be in the responsibility of the user. To reduce the degree of detail, i.m.o, the best way could be an extra setting in the administration section, may be under "Time and costs \> Settings", something like "Minimum time log entry: 0,1 / 0,25 / 0,5 / 1" or so.

One could also argue to put it on the project level in the section "Project settings", since different projects might require different time logging granularity.

### **Logs**

*-*

### Screenshots and other files

\-

### Environment information

*-*

**OpenProject installation type**

- [x] Hosted cloud edition
- [ ] Packaged installation
    - What distribution?
- [ ] Docker All-in-one container
- [ ] Docker-compose installation
- [ ] Other (please specify)

**OpenProject version**

*If you're not running on the cloud edition, please specify the version of OpenProject you're running. Example: v12.1.5*

**Browser**

- [ ] Chrome
- [x] Firefox (102.9.0esr); de
- [ ] Safari
- [ ] Mobile Safari
- [ ] Other (please specify)

**Language**

Firefox: de

OpenProject: de
