This commit is contained in:
bohung committed 2022-07-20 22:38:02 +08:00
1 parent 31f2ed3a71
commit 8d73675bc4
1 file changed
+1 -1
+1 -1
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)