--- loncom/homework/outputtags.pm 2001/04/26 21:27:50 1.6 +++ loncom/homework/outputtags.pm 2001/06/01 15:58:00 1.7 @@ -14,9 +14,7 @@ sub start_displayduedate { my $status=$Apache::inputtags::status['-1']; &Apache::lonxml::debug("got a $status in duedatebox"); if (($status =~ /CAN.*_ANSWER/) && ($target eq 'web')) { - my $args =''; - if ( $#$parstack > -1 ) { $args=$$parstack[$#$parstack]; } - my $format = &Apache::run::run("{$args;".'return $format}',$safeeval); + my $format = &Apache::lonxml::get_param('format',$parstack,$safeeval); if ($format eq '') { &Apache::lonxml::debug("using default format"); $format="%c";