fix: cli time format
This commit is contained in:
parent
cae592c5cf
commit
c6e2c63024
|
@ -96,9 +96,9 @@ def get_teapot_check_args(repo_conf: repo.Config, task_conf: task.Config) -> Lis
|
|||
)
|
||||
res.extend(["--group-config", group_config])
|
||||
if task_conf.time.begin:
|
||||
res.extend(["--begin-time", task_conf.time.begin.isoformat()])
|
||||
res.extend(["--begin-time", task_conf.time.begin.strftime("%Y-%m-%dT%H:%M:%S")])
|
||||
if task_conf.time.end:
|
||||
res.extend(["--end-time", task_conf.time.end.isoformat()])
|
||||
res.extend(["--end-time", task_conf.time.end.strftime("%Y-%m-%dT%H:%M:%S")])
|
||||
return res
|
||||
|
||||
|
||||
|
|
|
@ -78,7 +78,7 @@
|
|||
"--group-config",
|
||||
"Manuel=500:24,Boming=501:48,Nuvole=502:72",
|
||||
"--end-time",
|
||||
"2024-12-30T23:59:59+08:00"
|
||||
"2024-12-30T23:59:59"
|
||||
],
|
||||
"env": [
|
||||
"REPOS_DIR=/home/tt/.cache",
|
||||
|
|
Loading…
Reference in New Issue
Block a user