--- loncom/interface/londocs.pm 2003/09/28 00:14:25 1.84 +++ loncom/interface/londocs.pm 2003/10/04 20:49:40 1.85 @@ -1,7 +1,7 @@ # The LearningOnline Network # Documents # -# $Id: londocs.pm,v 1.84 2003/09/28 00:14:25 www Exp $ +# $Id: londocs.pm,v 1.85 2003/10/04 20:49:40 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -395,7 +395,7 @@ sub entryline { ) { $foldertitle=&Apache::lontexconvert::msgtexconverted($4); $renametitle=$4; - $title=''.localtime($1).' '. + $title=''.&Apache::lonlocal::locallocaltime($1).' '. &Apache::loncommon::plainname($2,$3).':
'. $foldertitle; } @@ -594,13 +594,13 @@ sub checkversions { } my $starttime=time-$ENV{'form.timerange'}; if ($ENV{'form.timerange'}==2592000) { - $seltext=&mt('during the last month').' ('.localtime($starttime).')'; + $seltext=&mt('during the last month').' ('.&Apache::lonlocal::locallocaltime($starttime).')'; $monthsel='selected'; } elsif ($ENV{'form.timerange'}==604800) { - $seltext=&mt('during the last week').' ('.localtime($starttime).')'; + $seltext=&mt('during the last week').' ('.&Apache::lonlocal::locallocaltime($starttime).')'; $weeksel='selected'; } elsif ($ENV{'form.timerange'}==86400) { - $seltext=&mt('since yesterday').' ('.localtime($starttime).')'; + $seltext=&mt('since yesterday').' ('.&Apache::lonlocal::locallocaltime($starttime).')'; $daysel='selected'; } my %lt=&Apache::lonlocal::texthash @@ -638,7 +638,7 @@ ENDHEADERS $r->print( ''.$linkurl. ''. - localtime($changes{$_}).''.$currentversion.''. + &Apache::lonlocal::locallocaltime($changes{$_}).''.$currentversion.''. ''); my $lastold=1; for (my $prevvers=1;$prevvers<$currentversion;$prevvers++) { @@ -651,8 +651,8 @@ ENDHEADERS for (my $prevvers=$lastold;$prevvers<$currentversion;$prevvers++) { my $url=$root.'.'.$prevvers.'.'.$extension; $r->print('Version '.$prevvers.' ('. - localtime(&Apache::lonnet::metadata($url,'lastrevisiondate')). + '">'.&mt('Version').' '.$prevvers.' ('. + &Apache::lonlocal::locallocaltime(&Apache::lonnet::metadata($url,'lastrevisiondate')). ')'); if (&Apache::loncommon::fileembstyle($extension) eq 'ssi') { $r->print('