add -Minutes to Get-Feierabend

master
lub 5 years ago
parent b9870b1047
commit 0c648d86b0

@ -54,10 +54,14 @@ function Get-Feierabend {
[Parameter(Position = 3)]
[single]
$Hours = 6.5
$Hours = 6.5,
[Parameter(Position = 4)]
[single]
$Minutes = 30
)
$Begin.AddHours($Hours).Add($PauseEnd - $PauseStart)
$Begin.AddHours($Hours).AddMinutes($Minutes).Add($PauseEnd - $PauseStart)
}
function fsh {
param (

Loading…
Cancel
Save