Fix delta
This commit is contained in:
parent
5b33777670
commit
05a5aa52d2
@ -480,9 +480,10 @@ def upcoming_events(request, year=None, month=None, day=None, neighsize=1):
|
||||
if month is None:
|
||||
month = now.month
|
||||
if day is None:
|
||||
day = now.day + neighsize
|
||||
day = now.day
|
||||
|
||||
day = date(year, month, day)
|
||||
day = day + timedelta(days=neighsize)
|
||||
|
||||
request = EventFilter.set_default_values(request)
|
||||
filter = EventFilter(request.GET, get_event_qs(request), request=request)
|
||||
|
Loading…
Reference in New Issue
Block a user