X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Ftime.pl;h=6593ee3d1c147cdb9930dd4ce2ce0e2236c323cc;hb=85888a3551aa9a6799bd4f49ca45562023ac7116;hp=2054754bc4a874202ab9a63e22a1f18dab920405;hpb=a57ea9d5501f6d319a8cbfff997bad077cc31010;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));