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

Slots cannot run over midnight (00:00) #154

Open
micolous opened this issue Jan 13, 2017 · 0 comments
Open

Slots cannot run over midnight (00:00) #154

micolous opened this issue Jan 13, 2017 · 0 comments

Comments

@micolous
Copy link

Slots are designed in a way so that you have:

  • day (as foreign key) ➡️ has datetime.date
  • start_time (as datetime.time)
  • end_time (as datetime.time)

start_datetime and end_datetime compose these parameters into a (tz-naive) datetime.datetime object.

As a result, it is not possible to have a slot which runs over two different days (such as a talk from 23:30 - 00:30 the next day).

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