# Bug OP-8037 - Wrong date and time in work package activity

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 11.3.0 |
| Observed in versions | 11.0.0 |
| Sprint | 11.3.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 11.0.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

### **Environment**:

Your OpenProject Version: 11.0.4 / Community Edition

Windows 10 pro / Chrome,Firefox / OpenProject language: English

### **Logs**

### **Steps to reproduce:**

1.  Go to Work Packages
2.  Add a comment
3.  Add file and wait 5 minutes
4.  Add another file, it will be add to previous comment and date time is not valid

### **Actual Behavior**

I do some tests and there is a problem. The tests did with option &quot;Display journals as aggregated within&quot; set to 0 and default 5. Both tests shows the same problem. I added a file on December 11th 10:24, in activity file was in comment with dane December 10th 14:59. After that I added second file on December 11th 10:59 and it added to comment with date and time December 11 10:27. I did some screenshot,attached to this ticket

Even if I changed option &quot;Display journals.................&quot; to 0 date and time was wrong. This causes disinformation for users

### **Expected Behavior**

When &quot;Display journals.................&quot; set to 0 when I add file it should add new comment with right date time  
When &quot;Display journals.................&quot; set to 5 when I add file after 5 min it should add new comment with right date time. When file is add before 5 min it should be merge in one comment
