[LON-CAPA-cvs] cvs: loncom /interface londocs.pm
matthew
lon-capa-cvs@mail.lon-capa.org
Wed, 04 Feb 2004 20:53:55 -0000
matthew Wed Feb 4 15:53:55 2004 EDT
Modified files:
/loncom/interface londocs.pm
Log:
In "Check Course Document Versions" we should output a real modification
date for the current version instead of localtime(1).
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.101 loncom/interface/londocs.pm:1.102
--- loncom/interface/londocs.pm:1.101 Sun Feb 1 16:28:49 2004
+++ loncom/interface/londocs.pm Wed Feb 4 15:53:54 2004
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Documents
#
-# $Id: londocs.pm,v 1.101 2004/02/01 21:28:49 www Exp $
+# $Id: londocs.pm,v 1.102 2004/02/04 20:53:54 matthew Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -727,7 +727,10 @@
&Apache::lonnet::gettitle($linkurl).
'</b><br /><a href="'.$linkurl.'" target="cat">'.$linkurl.
'</a></td><td>'.
- &Apache::lonlocal::locallocaltime($changes{$_}).
+ &Apache::lonlocal::locallocaltime(
+ &Apache::lonnet::metadata($root.'.'.$extension,
+ 'lastrevisiondate')
+ ).
'</td><td><font size="+2">'.
$currentversion.'</font></td><td><font size="+2">');
# Used in course