This commit is contained in:
yanxd 2014-01-25 11:04:15 +08:00
parent 2aa6a14289
commit 91353d2e5a
1 changed files with 2 additions and 1 deletions

View File

@ -177,6 +177,7 @@ class UsersController < ApplicationController
@memberships_done = []
now_time = Time.now
@memberships.map { |e|
(@memberships_doing.push(e);next) if e.project.course_extra.endup_time.nil?
end_time_str = e.project.course_extra.endup_time
end_time = Time.parse(end_time_str)
if end_time > now_time