Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

Commit

Permalink
fix ci pipeline view incorrect timestamp being used
Browse files Browse the repository at this point in the history
Fixes #858
  • Loading branch information
Jason Underhill committed Oct 6, 2021
1 parent 3d9f97c commit b7d7be1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/ci/view/view.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func drawView(opts ViewOpts) error {
root := tview.NewPages()
root.SetBorderPadding(1, 1, 2, 2).
SetBorder(true).
SetTitle(fmt.Sprintf(" Pipeline #%d triggered %s by %s ", opts.Commit.LastPipeline.ID, utils.TimeToPrettyTimeAgo(*opts.Commit.AuthoredDate), opts.Commit.AuthorName))
SetTitle(fmt.Sprintf(" Pipeline #%d triggered %s by %s ", opts.Commit.LastPipeline.ID, utils.TimeToPrettyTimeAgo(*opts.Commit.LastPipeline.CreatedAt), opts.Commit.AuthorName))

boxes = make(map[string]*tview.TextView)
jobsCh := make(chan []*gitlab.Job)
Expand Down

0 comments on commit b7d7be1

Please sign in to comment.