Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

to_date in the duration field of team.organization_location is set 1 day behind #633

Open
hilpitome opened this issue Feb 7, 2024 · 0 comments

Comments

@hilpitome
Copy link
Contributor

When assigning locations and plans using rest/organization/assignLocationsAndPlans endpoint, the to date gets set in the duration field as the day before. E.g in the json below where to date is 2024-04-28 it will be set in the duration field as ['2024-02-04'.'2024-04-27')

[
  {
    "fromDate": "2024-02-04T11:36:42+03:00",
    "jurisdiction": "544d225ab-bb0c-436f-9ad5-847b75fe7ac2",
    "organization": "163776c9-4bc6-4c9c-9045-784502354b13",
    "plan": "f46c08e1-33af-45b2-bef2-5d115716ec89",
    "toDate": "2024-04-28T00:00:00+03:00"
  }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant