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

Mentor can only add up to 12 hours of availability at once and start/end time validations run correctly #182

Open
4 tasks
esparr opened this issue Nov 13, 2023 · 0 comments
Labels
good first issue Good for newcomers

Comments

@esparr
Copy link
Collaborator

esparr commented Nov 13, 2023

Acceptance Criteria:

  • no more than 12 hours of availability can be added at once
  • validation: start time must be in the future
  • validation: end time must be after start time
  • all availability test pass

Possible Implementation:

Replace current start and end time validation in v1 with same validation from helpers.py used in V2 of /serializers/availability.py

Other information:
Related bug ticket: https://trello.com/c/d4ThAruh

@esparr esparr added this to Momentors Nov 13, 2023
@esparr esparr converted this from a draft issue Nov 13, 2023
@esparr esparr added the good first issue Good for newcomers label Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
Status: 🔖 Current Sprint
Development

No branches or pull requests

1 participant