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

Commit

Permalink
Merge pull request #864 from junderhill/pipeline-view-timestamp
Browse files Browse the repository at this point in the history
fix ci pipeline view incorrect timestamp being used
  • Loading branch information
profclems committed Oct 6, 2021
2 parents 4b740a5 + b7d7be1 commit 2e4c14b
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 2e4c14b

Please sign in to comment.