convert linux time to seconds
This commit is contained in:
parent
8958b1ddd0
commit
07dfadee26
|
@ -731,6 +731,10 @@ sub timeString{
|
|||
my $self=$_[0];
|
||||
my $time=$_[1];
|
||||
|
||||
if ( $^O =~ /^linux$/ ){
|
||||
$time=$time/100000;
|
||||
}
|
||||
|
||||
my $hours=0;
|
||||
if ( $time >= 3600 ){
|
||||
$hours = $time / 3600;
|
||||
|
|
Loading…
Reference in New Issue