diff --git a/app/models/concerns/venue_link_file.rb b/app/models/concerns/venue_link_file.rb index cc0ea90..b970443 100644 --- a/app/models/concerns/venue_link_file.rb +++ b/app/models/concerns/venue_link_file.rb @@ -83,6 +83,7 @@ module VenueLinkFile if self.send(v.name+'_reminder') title = venue_main.title + ' ' + self.case_no.to_s + ' ' + self.get_trans(v.name) send_time = self.send(v.name)-self.send(v.name+'_reminder_day').day rescue nil + send_time = DateTime.parse(send_time.strftime("%Y/%m/%d 00:00:00 %z")) rescue send_time if !send_time.nil? new_email = Email.create(mail_to: manager_emails, module_app_key:"venue_management",