[LON-CAPA-cvs] cvs: loncom /interface/statistics lonstudentassessment.pm

raeburn raeburn@source.lon-capa.org
Wed, 14 Apr 2010 06:57:18 -0000


raeburn		Wed Apr 14 06:57:18 2010 EDT

  Modified files:              
    /loncom/interface/statistics	lonstudentassessment.pm 
  Log:
  - Bug 6255.
    &Apache::locallocaltime() now used for header in HTML, Excel and CSV output.
  
  
Index: loncom/interface/statistics/lonstudentassessment.pm
diff -u loncom/interface/statistics/lonstudentassessment.pm:1.160 loncom/interface/statistics/lonstudentassessment.pm:1.161
--- loncom/interface/statistics/lonstudentassessment.pm:1.160	Fri Feb 12 14:42:50 2010
+++ loncom/interface/statistics/lonstudentassessment.pm	Wed Apr 14 06:57:17 2010
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonstudentassessment.pm,v 1.160 2010/02/12 14:42:50 raeburn Exp $
+# $Id: lonstudentassessment.pm,v 1.161 2010/04/14 06:57:17 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1679,7 +1679,7 @@
     # 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