There is no clearcut answer to which day the sleep between them belongs.
We have decided to attach the sleep to the day after, because how you slept will largely determine how your day will be.
This is a companion discussion topic for the original entry at https://sleep.urbandroid.org/docs/faqs/why_sleep_counts_for_the_end_date.html