feat(cli): use correct timezones strings for log info; show build
ci/woodpecker/pr/docs Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline failed Details
ci/woodpecker/pr/test Pipeline was successful Details
ci/woodpecker/pr/build Pipeline failed Details
ci/woodpecker/pr/docker unknown status Details

duration
Jef Roosens 2022-05-31 12:41:50 +02:00
parent edd71b41c2
commit 754530d519
Signed by: Jef Roosens
GPG Key ID: B75D4F293C7052DB
1 changed files with 3 additions and 2 deletions

View File

@ -17,8 +17,9 @@ pub fn (bl &BuildLog) str() string {
mut parts := [
'id: $bl.id',
'repo id: $bl.repo_id',
'start time: $bl.start_time',
'end time: $bl.end_time',
'start time: $bl.start_time.local()',
'end time: $bl.end_time.local()',
'duration: ${bl.end_time - bl.start_time}'
'arch: $bl.arch',
'exit code: $bl.exit_code',
]