mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-20 23:00:35 -05:00
Fixes time span date output
This commit is contained in:
parent
27c890b50c
commit
95ffecfd05
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ function ConvertFrom-TimeSpan()
|
||||||
$TimeSpan = [TimeSpan]::FromSeconds($Seconds);
|
$TimeSpan = [TimeSpan]::FromSeconds($Seconds);
|
||||||
|
|
||||||
return [string]::Format(
|
return [string]::Format(
|
||||||
'Days: {0} Hours: {1} Minutes: {2} Seconds: {3}',
|
'{0}d {1}h {2}m {3}s',
|
||||||
$TimeSpan.Days,
|
$TimeSpan.Days,
|
||||||
$TimeSpan.Hours,
|
$TimeSpan.Hours,
|
||||||
$TimeSpan.Minutes,
|
$TimeSpan.Minutes,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue