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; |