--- loncom/interface/lonhtmlcommon.pm 2004/04/07 22:33:00 1.63 +++ loncom/interface/lonhtmlcommon.pm 2004/04/19 16:43:03 1.66 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common html routines # -# $Id: lonhtmlcommon.pm,v 1.63 2004/04/07 22:33:00 albertel Exp $ +# $Id: lonhtmlcommon.pm,v 1.66 2004/04/19 16:43:03 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -231,7 +231,7 @@ sub date_setter { } } # other potentially useful values: wkday,yrday,is_daylight_savings - my ($sec,$min,$hour,$mday,$month,$year)=('','','','','',''); + my ($sec,$min,$hour,$mday,$month,$year)=('','',undef,'','',''); if ($currentvalue) { ($sec,$min,$hour,$mday,$month,$year,undef,undef,undef) = localtime($currentvalue); @@ -327,7 +327,7 @@ ENDJS if ($includeempty) { $result.=""; } for (my $h = 0;$h<24;$h++) { $result .= "