Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Verify that passed intervals are lists of lists
Trying to second guess the intent of the caller made the types and implementation more complex, and had a bug: if `intervals[0]` was `None` (that is, the user had passed a single interval with an open start) rather than a `datetime` then `intervals` would wrongly be treated as a list of lists.
- Loading branch information