--- loncom/homework/grades.pm 2008/12/31 18:09:57 1.544 +++ loncom/homework/grades.pm 2008/12/31 20:41:35 1.545 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Grading handler # -# $Id: grades.pm,v 1.544 2008/12/31 18:09:57 raeburn Exp $ +# $Id: grades.pm,v 1.545 2008/12/31 20:41:35 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2317,7 +2317,7 @@ sub get_last_submission { $$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)) {