1
0

Fixed Parameters

This commit is contained in:
2025-06-10 16:55:03 +02:00
parent e866e94303
commit 9afb3328ba
4 changed files with 6 additions and 6 deletions

View File

@@ -1,3 +1,3 @@
export def lumen-assono-overtime-calc [startdate = datetime]: nothing -> string { export def lumen-assono-overtime-calc [startdate: datetime]: nothing -> string {
pwsh -command $'Invoke-assOrgaOvertimeCalculator ($startdate)' pwsh -command $'Invoke-assOrgaOvertimeCalculator ($startdate | format date '%d/%m/%Y')'
} }

View File

@@ -1,4 +1,4 @@
export def lumen-assono-worktime-calc [datestr = string]: nothing -> string { export def lumen-assono-worktime-calc [datestr: string]: nothing -> string {
let $datestr = $datestr | str replace ' +' ' ' let $datestr = $datestr | str replace ' +' ' '
mut $dateArray = [] mut $dateArray = []
let $rawDateArray = $datestr | split row ' ' let $rawDateArray = $datestr | split row ' '

View File

@@ -1,5 +1,5 @@
export def lumen-kwin-get-class [waittimesec = int]: nothing -> string { export def lumen-kwin-get-class [waittimesec: int]: nothing -> string {
mut timer = ($waittimesec | into int) mut timer = $waittimesec
while ($timer > 0) { while ($timer > 0) {
$timer | print $timer | print
$timer -= 1 $timer -= 1

View File

@@ -1,4 +1,4 @@
export def lumen-search-content [searchstr = string]: any -> table { export def lumen-search-content [searchstr: string]: any -> table {
let $tmp = $in let $tmp = $in
mut $path = pwd mut $path = pwd
if ($tmp != null) { if ($tmp != null) {