X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Ftime.pl;h=6593ee3d1c147cdb9930dd4ce2ce0e2236c323cc;hb=ba1a144ec12c8265b96cf42b0218fd5bd2703e91;hp=2054754bc4a874202ab9a63e22a1f18dab920405;hpb=8216591f8355cc88b277c25a854527408bce8a3d;p=spider.git diff --git a/cmd/show/time.pl b/cmd/show/time.pl index 2054754b..6593ee3d 100644 --- a/cmd/show/time.pl +++ b/cmd/show/time.pl @@ -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));