mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
Corrected comment
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user