--- loncom/interface/statistics/lonstudentassessment.pm 2010/01/14 17:20:51 1.159 +++ loncom/interface/statistics/lonstudentassessment.pm 2012/02/17 21:49:58 1.162.2.1 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonstudentassessment.pm,v 1.159 2010/01/14 17:20:51 bisitz Exp $ +# $Id: lonstudentassessment.pm,v 1.162.2.1 2012/02/17 21:49:58 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -554,7 +554,7 @@ my @OutputDataOptions = sub HTMLifyOutputDataDescriptions { my $Str = ''; - $Str .= "
"); $r->print(''); &Apache::lonhtmlcommon::Increment_PrgWin( - $r,\%prog_state,'last five students'); + $r,\%prog_state,'last five students',5); $r->rflush(); $r->print('
'); } @@ -841,6 +841,7 @@ sub html_outputstudent { if ($field eq 'comments') { $title = ''.&mt('Comments').''; } + utf8::decode($title); my $base = length($title); my $width=$Apache::lonstatistics::StudentData{$field}->{'width'}; $Str .= $title.' 'x($width-$base).$padding; @@ -1679,7 +1680,7 @@ END # Datestamp my $description = $env{'course.'.$env{'request.course.id'}.'.description'}; print $outputfile '"'.&Apache::loncommon::csv_translate($description).'",'. - '"'.&Apache::loncommon::csv_translate(scalar(localtime(time))).'"'. + '"'.&Apache::loncommon::csv_translate(scalar(&Apache::lonlocal::locallocaltime(time))).'"'. "\n"; print $outputfile '"'. &Apache::loncommon::csv_translate