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])
|
res.extend(["--group-config", group_config])
|
||||||
if task_conf.time.begin:
|
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:
|
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
|
return res
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -78,7 +78,7 @@
|
||||||
"--group-config",
|
"--group-config",
|
||||||
"Manuel=500:24,Boming=501:48,Nuvole=502:72",
|
"Manuel=500:24,Boming=501:48,Nuvole=502:72",
|
||||||
"--end-time",
|
"--end-time",
|
||||||
"2024-12-30T23:59:59+08:00"
|
"2024-12-30T23:59:59"
|
||||||
],
|
],
|
||||||
"env": [
|
"env": [
|
||||||
"REPOS_DIR=/home/tt/.cache",
|
"REPOS_DIR=/home/tt/.cache",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user