Skip to content

Reporting time registration from the report: date is set wrong #422

@str1fe

Description

@str1fe

Describe the bug
When i add a time registration from the report (when i as an admin need to add time registration on behalf of other people). The date is not set correctly. The date will be set to the current date, regardless of which date i choose in the date field in the modal.

To Reproduce
Steps to reproduce the behavior:

  1. Go to a detailed report
  2. Click on 'Legg til tidsregistrering'
  3. Choose a date in the past, and fill in rest of the form
  4. See that the time registration is added for the current date, and not the date you selected

Expected behavior
The date should be the date you selected

Screenshots

Image Image Image

Environment: [Prod]

Browser: [Brave]

OS: [Linux]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions