--- loncom/interface/lonmeta.pm 2003/12/26 16:27:20 1.42 +++ loncom/interface/lonmeta.pm 2003/12/26 21:17:37 1.43 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Metadata display handler # -# $Id: lonmeta.pm,v 1.42 2003/12/26 16:27:20 www Exp $ +# $Id: lonmeta.pm,v 1.43 2003/12/26 21:17:37 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -40,6 +40,7 @@ use Apache::loncommon(); use Apache::lonmsg; use Apache::lonpublisher; use Apache::lonlocal; +use Apache::lonmysql; # ----------------------------------------- Fetch and evaluate dynamic metadata @@ -235,9 +236,9 @@ sub handler { # --------------------------------------------------------------- Render Output my ($thisversion)=($uri=~/\.(\d+)\.(\w+)\.meta$/); my $creationdate=&Apache::lonlocal::locallocaltime( - &Apache::loncommon::unsqltime($content{'creationdate'})); + &Apache::lonmysql::unsqltime($content{'creationdate'})); my $lastrevisiondate=&Apache::lonlocal::locallocaltime( - &Apache::loncommon::unsqltime($content{'lastrevisiondate'})); + &Apache::lonmysql::unsqltime($content{'lastrevisiondate'})); my $language=&Apache::loncommon::languagedescription($content{'language'}); my $mime=&Apache::loncommon::filedescription($content{'mime'}); my $disuri=&Apache::lonnet::declutter($uri);