feat(cli): use correct timezones strings for log info; show build

duration
main
Jef Roosens 2022-05-31 12:41:50 +02:00
parent edd71b41c2
commit aded6d438a
Signed by untrusted user: 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 := [ mut parts := [
'id: $bl.id', 'id: $bl.id',
'repo id: $bl.repo_id', 'repo id: $bl.repo_id',
'start time: $bl.start_time', 'start time: $bl.start_time.local()',
'end time: $bl.end_time', 'end time: $bl.end_time.local()',
'duration: ${bl.end_time - bl.start_time}',
'arch: $bl.arch', 'arch: $bl.arch',
'exit code: $bl.exit_code', 'exit code: $bl.exit_code',
] ]