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

matthew lon-capa-cvs@mail.lon-capa.org
Wed, 25 Aug 2004 18:13:00 -0000


matthew		Wed Aug 25 14:13:00 2004 EDT

  Modified files:              
    /loncom/interface	loncommon.pm 
  Log:
  Fix bug with date format in excel output not being set to the right format.
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.206 loncom/interface/loncommon.pm:1.207
--- loncom/interface/loncommon.pm:1.206	Tue Aug 24 18:47:58 2004
+++ loncom/interface/loncommon.pm	Wed Aug 25 14:13:00 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.206 2004/08/24 22:47:58 albertel Exp $
+# $Id: loncommon.pm,v 1.207 2004/08/25 18:13:00 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -863,7 +863,7 @@
     $format->{'h2'}   = $workbook->add_format(bold=>1, size=>16);
     $format->{'h3'}   = $workbook->add_format(bold=>1, size=>14);
     $format->{'date'} = $workbook->add_format(num_format=>
-                                            'mmm d yyyy hh:mm AM/PM');
+                                            'mm/dd/yyyy hh:mm:ss');
     return $format;
 }