Skip to content

Date picker picks wrong date #2377

@Tychodewaard

Description

@Tychodewaard

Description of bug

If you assign a role to a user, you can pick a start date and end date to apply to this role.
The date is actually 1 day earlier than the day you pick in the date picker. This happens to both the start date and end date.

Steps to reproduce

  • go to a users
  • assign role
  • click on the start date icon (for instance, October 7th 2018)
  • check the field in the table and see that it says October 6th 2018

Expected result

I expect the date in the table to correspond with the date selected in the date picker.

Affected version

  • 9.2.2
  • 9.2.1
  • 9.1.1

Other versions not tested.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions