--- loncom/homework/lonhomework.pm 2001/01/09 19:50:14 1.29 +++ loncom/homework/lonhomework.pm 2001/01/11 15:20:58 1.31 @@ -12,6 +12,7 @@ use Apache::inputtags; use Apache::structuretags; use Apache::response; use Apache::hint; +use Apache::outputtags; use Apache::Constants qw(:common); sub get_target { @@ -74,6 +75,8 @@ sub check_date { &Apache::lonxml::debug("found :$date: for :$temp:"); if ($date eq '') { $date = "an unknown date"; $passed = 0; + } elsif ($date eq 'con_lost') { + $date = "an indeterminate date"; $passed = 0; } else { if (time < $date) { $passed = 0; } else { $passed = 1; } $date = localtime $date;