[LON-CAPA-cvs] cvs: loncom /homework response.pm

raeburn raeburn at source.lon-capa.org
Thu Aug 28 10:41:18 EDT 2014


raeburn		Thu Aug 28 14:41:18 2014 EDT

  Modified files:              
    /loncom/homework	response.pm 
  Log:
  - due date checking in &check_status() needs to support time limits. 
  
  
Index: loncom/homework/response.pm
diff -u loncom/homework/response.pm:1.235 loncom/homework/response.pm:1.236
--- loncom/homework/response.pm:1.235	Thu Feb 13 12:43:50 2014
+++ loncom/homework/response.pm	Thu Aug 28 14:41:18 2014
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # various response type definitons response definition
 #
-# $Id: response.pm,v 1.235 2014/02/13 12:43:50 bisitz Exp $
+# $Id: response.pm,v 1.236 2014/08/28 14:41:18 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1379,7 +1379,7 @@
     if (!defined($id)) { $id=$Apache::inputtags::part; }
     my $curtime=&Apache::lonnet::EXT('system.time');
     my $opendate=&Apache::lonnet::EXT("resource.$id.opendate");
-    my $duedate=&Apache::lonnet::EXT("resource.$id.duedate");
+    my $duedate=&Apache::lonhomework::due_date($id);
     my $answerdate=&Apache::lonnet::EXT("resource.$id.answerdate");
     if ( $opendate && $curtime > $opendate &&
          $duedate && $curtime > $duedate &&




More information about the LON-CAPA-cvs mailing list