This commit is contained in:
BoHung Chiu 2022-07-20 22:38:02 +08:00
parent 31f2ed3a71
commit 8d73675bc4
1 changed files with 1 additions and 1 deletions

View File

@ -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)