[LON-CAPA-cvs] cvs: loncom(version_2_8_X) /homework grades.pm

raeburn raeburn@source.lon-capa.org
Wed, 31 Dec 2008 21:08:10 -0000


raeburn		Wed Dec 31 21:08:10 2008 EDT

  Modified files:              (Branch: version_2_8_X)
    /loncom/homework	grades.pm 
  Log:
  - Backport 1.545.
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.528.2.5 loncom/homework/grades.pm:1.528.2.6
--- loncom/homework/grades.pm:1.528.2.5	Wed Dec 24 12:33:28 2008
+++ loncom/homework/grades.pm	Wed Dec 31 21:08:09 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.528.2.5 2008/12/24 12:33:28 raeburn Exp $
+# $Id: grades.pm,v 1.528.2.6 2008/12/31 21:08:09 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2358,7 +2358,7 @@
 					$$returnhash{$version.':keys'}))) {
 		$lasthash{$key}=$$returnhash{$version.':'.$key};
 		$timestamp = 
-		    scalar(localtime($$returnhash{$version.':timestamp'}));
+		    &Apache::lonlocal::locallocaltime($$returnhash{$version.':timestamp'});
 	    }
 	}
 	foreach my $key (keys(%lasthash)) {