From ae2b47afd667f394f24798baf9bbbecbba49d281 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 6 Aug 2013 06:27:16 +0000 Subject: [PATCH] code format cleanup app/models/issue.rb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12087 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/issue.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/issue.rb b/app/models/issue.rb index 763808839..d04f5bd04 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -703,7 +703,7 @@ class Issue < ActiveRecord::Base # Is the amount of work done less than it should for the due date def behind_schedule? return false if start_date.nil? || due_date.nil? - done_date = start_date + ((due_date - start_date+1)* done_ratio/100).floor + done_date = start_date + ((due_date - start_date + 1) * done_ratio / 100).floor return done_date <= Date.today end -- 2.39.5