[LON-CAPA-cvs] cvs: loncom /interface londropadd.pm
matthew
lon-capa-cvs@mail.lon-capa.org
Tue, 19 Apr 2005 03:58:24 -0000
matthew Mon Apr 18 23:58:24 2005 EDT
Modified files:
/loncom/interface londropadd.pm
Log:
use 'none' in excel output instead of unixtime 0.
Index: loncom/interface/londropadd.pm
diff -u loncom/interface/londropadd.pm:1.128 loncom/interface/londropadd.pm:1.129
--- loncom/interface/londropadd.pm:1.128 Thu Apr 7 03:34:52 2005
+++ loncom/interface/londropadd.pm Mon Apr 18 23:58:23 2005
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to drop and add students in courses
#
-# $Id: londropadd.pm,v 1.128 2005/04/07 07:34:52 albertel Exp $
+# $Id: londropadd.pm,v 1.129 2005/04/19 03:58:23 matthew Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1460,9 +1460,13 @@
$name,$section]);
my $col = 5;
foreach my $time ($start,$end) {
- $excel_sheet->write($row,$col++,
+ if (defined($time) && $time != 0) {
+ $excel_sheet->write($row,$col++,
&Apache::lonstathelpers::calc_serial($time),
$format->{'date'});
+ } else {
+ $excel_sheet->write($row,$col++,'none');
+ }
}
$excel_sheet->write($row,$col++,$status);
$row++;