Schedules returned by the "List All Configured Harvesting Clients" endpoint are a day off
What steps does it take to reproduce the issue?
-
When does this issue occur? When using the "List All Configured Harvesting Clients" endpoint to see information about an installation's harvesting clients, particularly when each harvesting client is scheduled to run.
-
Which page(s) does it occurs on? In the JSON returned by the "List All Configured Harvesting Clients" endpoint
-
What happens? For any harvesting clients set to run on a specific day each week, the day included in the "schedule" key of the JSON returned by the "List All Configured Harvesting Clients" endpoint is one day earlier than it should be.
For example, on Demo Dataverse, see information for the client nicknamed "prod_africa_rice" in https://demo.dataverse.org/api/v1/harvest/clients. The schedule there is "Weekly, Sun 6 PM ", but on the Manage Harvesting Client page, that client is set to run every Monday.
This is also happening for all harvesting clients on Harvard Dataverse that are scheduled to run weekly.
-
To whom does it occur (all users, curators, superusers)? Superusers
-
What did you expect to happen? The schedule returned in the endpoint matches the schedule set on the Manage Harvesting Client page.
Which version of Dataverse are you using? v6.1
Any related open or closed issues to this bug report? Would https://github.com/IQSS/dataverse/issues/9979 be related?