code4romania / vic

Mozilla Public License 2.0
2 stars 1 forks source link

Volunteering hours set on a date appear on the following one #269

Open tudoramariei opened 4 months ago

tudoramariei commented 4 months ago

Description

When a volunteer declares a set of volunteering hours for approval, the hours appear fine on the volunteer's app, but they appear as being one day later. They appear fine on the volunteer's app, at entry, and after approval, but not in the admin panel.

Test environment

The error reproduces on web, but the test data comes from mobile.

Steps of Reproduction

  1. Open the mobile app as a volunteer registered in an organization
  2. Go to Voluntar > Ore de voluntariat
  3. Add a new entry of volunteering time with the date 15.02.2024
  4. Go to the admin of the organization above
  5. Go to Ore de voluntariat > Solicitări de aprobar
  6. Look at the Data efectuării

Expected Result

The date that appears in the admin should be 15.02.2024

Actual Result

The date that appears in the admin is 16.02.2024

Notes (optional)

Some organizations need to have the correct numbers here since they use this feature extensively.

Screenshots (optional)

Data entered into the app

data entered into the app

Data appearing in the admin

data appearing in the admin