llazzaro/django-scheduler — pull request #86 by timcallagy (2014-10-27 16:24:38+00:00)
Title: Fixed _get_occ_list to return occs for split calendars.

Leonardo, here is another serious bug that I fixed and want to merge to the main branch.

The bug affects occurences of recurring events when those occurrences are split in a calendar (e.g. starting on Tuesday but finishing on Wednesday in Week View, or starting in the morning but finishing in the evening of a Day view that is split in two).

In these case, the first part of the occurrence is not shown (i.e. the part on Tuesday is not shown in Week View, the part in the morning is not shown in the Day view). See screenshots attached.
![probleminweeklyview](https://cloud.githubusercontent.com/assets/4582524/4794502/18de9026-5df5-11e4-97ca-2c431244e151.png)
![detailsofoccurrence](https://cloud.githubusercontent.com/assets/4582524/4794510/21dbef16-5df5-11e4-88b0-65c379a88b2d.png)

The fix here is not perfect (the problem will still occur in a day view that is split into 4 parts, for example), but at least it will solve the problem for the default setup (7 columns in week view, 2 columns in day view).

Thanks,
Tim