Fix bug.
This commit is contained in:
parent
23d6faa834
commit
121fdbb51b
|
@ -35,7 +35,7 @@ Rails.application.routes.draw do
|
|||
puts "Calendar fix!"
|
||||
end
|
||||
if need_update2
|
||||
Event.where(:recurring=>true).each do |e|
|
||||
Event.where(:all_day=>true).each do |e|
|
||||
if e.end == e.start + 1.day
|
||||
e.end = e.start
|
||||
e.save
|
||||
|
|
Loading…
Reference in New Issue