This commit is contained in:
BoHung Chiu 2022-08-02 22:17:35 +08:00
parent 23d6faa834
commit 121fdbb51b
1 changed files with 1 additions and 1 deletions

View File

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