diff --git a/app/views/student_work/_student_work.html.erb b/app/views/student_work/_student_work.html.erb index abbd134b0..cd60ef024 100644 --- a/app/views/student_work/_student_work.html.erb +++ b/app/views/student_work/_student_work.html.erb @@ -12,7 +12,7 @@ <%= link_to student_work.name, student_work_path(student_work),:remote => true,:title => student_work.name, :class => "c_blue02"%>
  • - <% if Time.parse(@homework.end_time.to_s) < Time.parse(student_work.created_at.to_s) %> + <% if Time.parse(@homework.end_time.to_s).strftime("%Y-%m-%d") < Time.parse(student_work.created_at.to_s).strftime("%Y-%m-%d") %> 迟交 <% else%> <%= student_work.created_at.strftime("%m-%d").to_s%>