mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-31 20:32:13 +00:00
Corrected comment
This commit is contained in:
@@ -16,7 +16,7 @@ class CalendarICS(ICalFeed):
|
|||||||
file_name = "rigs.ics"
|
file_name = "rigs.ics"
|
||||||
|
|
||||||
def items(self):
|
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)
|
start = datetime.datetime.now() - datetime.timedelta(days=365)
|
||||||
filter = Q(start_date__gte=start) & ~Q(status=models.Event.CANCELLED)
|
filter = Q(start_date__gte=start) & ~Q(status=models.Event.CANCELLED)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user