summaryrefslogtreecommitdiffstats
path: root/app/models/version.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-09-16 14:09:41 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-09-16 14:09:41 +0000
commita81da3491e1b0070e751fa97e192045f894a4291 (patch)
tree2648b8e326426a340544207a194b80c6a3302612 /app/models/version.rb
parentff0989a7022e717e8b200f62ad5c9cdc3b6cc440 (diff)
downloadredmine-a81da3491e1b0070e751fa97e192045f894a4291.tar.gz
redmine-a81da3491e1b0070e751fa97e192045f894a4291.zip
Do not consider that versions that are due today are completed.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10397 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/version.rb')
-rw-r--r--app/models/version.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/version.rb b/app/models/version.rb
index cd32da91e..d0fe02973 100644
--- a/app/models/version.rb
+++ b/app/models/version.rb
@@ -91,7 +91,7 @@ class Version < ActiveRecord::Base
# Returns true if the version is completed: due date reached and no open issues
def completed?
- effective_date && (effective_date <= Date.today) && (open_issues_count == 0)
+ effective_date && (effective_date < Date.today) && (open_issues_count == 0)
end
def behind_schedule?