X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Ftime.pl;h=e5c0ece2fee6b7cb330f94bbf166266382c7730f;hb=refs%2Fheads%2Fnewdisc;hp=2054754bc4a874202ab9a63e22a1f18dab920405;hpb=a57ea9d5501f6d319a8cbfff997bad077cc31010;p=spider.git diff --git a/cmd/show/time.pl b/cmd/show/time.pl index 2054754b..e5c0ece2 100644 --- a/cmd/show/time.pl +++ b/cmd/show/time.pl @@ -4,15 +4,20 @@ # # Copyright (c) 1999 Dirk Koopman G1TLH # -# $Id$ +# # my ($self, $line) = @_; my @list = split /\s+/, $line; +push @list, $self->call unless @list; + my $l; my @out; my $t = $main::systime; +if ($list[0] =~ /^\d+$/) { + $t = shift @list; +} push @out, $self->msg("time1", cldate($t, 1), ztime($t, 1), ztime($t));