--- loncom/interface/Attic/londropadd.pm 2005/04/07 07:34:52 1.128 +++ loncom/interface/Attic/londropadd.pm 2005/04/19 03:58:23 1.129 @@ -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 @@ END $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++;