Fix bug.
This commit is contained in:
parent
31f2ed3a71
commit
8d73675bc4
|
@ -168,7 +168,7 @@ class Event
|
|||
end
|
||||
when "Weekly"
|
||||
@start_date = re.start
|
||||
@edn_date = re.end
|
||||
@end_date = re.end
|
||||
@i = TimeDifference.between(re.start.to_date,end_date.to_date).in_weeks.to_i
|
||||
(1..@i).each do |i|
|
||||
@start_date += (7*re.frequency.to_i)
|
||||
|
|
Loading…
Reference in New Issue