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

Editing Trip end date to be earlier than Plan's start dates #168

Open
Vielheim opened this issue Apr 11, 2022 · 0 comments
Open

Editing Trip end date to be earlier than Plan's start dates #168

Vielheim opened this issue Apr 11, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@Vielheim
Copy link
Owner

Vielheim commented Apr 11, 2022

Currently it's possible to do the above, not sure if we want it though

  • The issue is that Trip does not know anything about its plans. So when we want to edit a trip, it just uses its own boundaries for start and end dates.

Would be preferable when we edit trip:

  • Start date is in range of: min(current date, earliest plan's start date) to plan's earliest date
  • End date is in range of: max(trip's end date, latest plan's end date) to any date after that

I tried to do it but it was quite hard to create the picker for the boundaries

@Vielheim Vielheim added the bug Something isn't working label Apr 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant