|
@@ -93,7 +93,7 @@ class PeopleController < ApplicationController
|
93
|
93
|
def calendar
|
94
|
94
|
cal = Icalendar::Calendar.new
|
95
|
95
|
|
96
|
|
- @person.participants.joins(:activity).where('end > ?', 3.months.ago).each do |p|
|
|
96
|
+ @person.participants.joins(:activity).where('"end" > ?', 3.months.ago).each do |p|
|
97
|
97
|
next if !p.attending && params[:skipcancel]
|
98
|
98
|
|
99
|
99
|
a = p.activity
|