[LON-CAPA-cvs] cvs: loncom /homework outputtags.pm

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 17 Jan 2006 17:47:26 -0000


albertel		Tue Jan 17 12:47:26 2006 EDT

  Modified files:              
    /loncom/homework	outputtags.pm 
  Log:
  - timeToHumanString is pretty good set of defaults already, if the user hasn't askwed for anything specfic already
  - BUG#4588
  
  
Index: loncom/homework/outputtags.pm
diff -u loncom/homework/outputtags.pm:1.45 loncom/homework/outputtags.pm:1.46
--- loncom/homework/outputtags.pm:1.45	Mon Dec 12 17:10:32 2005
+++ loncom/homework/outputtags.pm	Tue Jan 17 12:47:24 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # tags that create controlled output
 #
-# $Id: outputtags.pm,v 1.45 2005/12/12 22:10:32 albertel Exp $
+# $Id: outputtags.pm,v 1.46 2006/01/17 17:47:24 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -69,7 +69,7 @@
     my $style = &Apache::lonxml::get_param('style',$parstack,$safeeval);
     my $format = &Apache::lonxml::get_param('format', $parstack, $safeeval);
     if (!$format) {
-	$format = '%c';
+	$format = undef;
     }
     if (($status =~ /CAN.*_ANSWER/)) {
 	my $id = $Apache::inputtags::part;