1.1 --- a/imipweb/calendar.py Fri Mar 27 15:12:21 2015 +0100
1.2 +++ b/imipweb/calendar.py Fri Mar 27 17:28:50 2015 +0100
1.3 @@ -372,19 +372,19 @@
1.4
1.5 for point, active in day_slots:
1.6 columns = max(columns, len(active))
1.7 +
1.8 + # Qualify points in the day with an extra indicator to
1.9 + # handle repeated time points due to instant events.
1.10 +
1.11 + day_points[(point, last == point and 1 or 0)] = active
1.12 +
1.13 if last:
1.14 intervals.append((last, point))
1.15
1.16 - # Qualify points in the day with an extra indicator to
1.17 - # handle repeated time points due to instant events.
1.18 -
1.19 - day_points[(point, last == point and 1 or 0)] = active
1.20 -
1.21 last = point
1.22
1.23 if last:
1.24 intervals.append((last, None))
1.25 - day_points[(point, last == point and 1 or 0)] = active
1.26
1.27 if not days.has_key(day):
1.28 days[day] = set()