Corrected comment

This commit is contained in:
David Taylor
2015-04-24 00:10:14 +01:00
parent 3397bb772d
commit 0e7232a16c

View File

@@ -16,7 +16,7 @@ class CalendarICS(ICalFeed):
file_name = "rigs.ics"
def items(self):
#include events from up to 3 months ago
#include events from up to 1 year ago
start = datetime.datetime.now() - datetime.timedelta(days=365)
filter = Q(start_date__gte=start) & ~Q(status=models.Event.CANCELLED)