Diff for /loncom/interface/lonnavmaps.pm between versions 1.57 and 1.58

version 1.57, 2002/10/01 07:09:05 version 1.58, 2002/10/01 07:20:31
Line 1071  sub getDescription { Line 1071  sub getDescription {
 # now, this is a simple call to localtime. The final function  # now, this is a simple call to localtime. The final function
 # probably belongs in loncommon.  # probably belongs in loncommon.
 sub timeToHumanString {  sub timeToHumanString {
     return localtime(shift);      my ($time) = @_;
       # zero, '0' and blank are bad times
       if ($time) {
    return localtime($time);
       } else {
    return 'Never';
       }
 }  }
   
 1;  1;

Removed from v.1.57  
changed lines
  Added in v.1.58


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>