X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Ftime.pl;h=986320e5108f83fccfa4b650960243849623860a;hb=c3505bcfc922cd712bad2c20b3479cf8d1dc54fe;hp=2054754bc4a874202ab9a63e22a1f18dab920405;hpb=a57ea9d5501f6d319a8cbfff997bad077cc31010;p=spider.git diff --git a/cmd/show/time.pl b/cmd/show/time.pl index 2054754b..986320e5 100644 --- a/cmd/show/time.pl +++ b/cmd/show/time.pl @@ -4,7 +4,7 @@ # # Copyright (c) 1999 Dirk Koopman G1TLH # -# $Id$ +# # my ($self, $line) = @_; @@ -13,6 +13,9 @@ my @list = split /\s+/, $line; 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));